Re: select * and save into a text file failed

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: select * and save into a text file failed
Дата
Msg-id 23616.1118422507@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: select * and save into a text file failed  ("Lee Wu" <Lwu@mxlogic.com>)
Список pgsql-admin
"Lee Wu" <Lwu@mxlogic.com> writes:
> My_db=3D# select * from a_table;
> Killed

Apparently the table is bigger than psql can hold in memory?

The simplest way to do this is certainly to use pg_dump in one-table
mode.  If you're intent on using psql, you could use a cursor or
OFFSET/LIMIT to fetch part of the table at a time.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Bruno G. Albuquerque"
Дата:
Сообщение: Re: Indexes getting corrupted.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Indexes getting corrupted.