Re: Dump and Query

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Dump and Query
Дата
Msg-id 20061227202027.GA10295@wolff.to
обсуждение исходный текст
Ответ на Dump and Query  (Enrico <scotty@linuxtime.it>)
Список pgsql-admin
On Wed, Dec 27, 2006 at 14:05:30 +0100,
  Enrico <scotty@linuxtime.it> wrote:
> Is there any way to make a dump from a query?
>
> For example if my query is:
>
> select field1,field2 from table
>
> Does it exist a shell command like pg_dump --QUERY myquery -f myfile?

In 8.2 you can use a query with the COPY command. Depending on what
you are really doing, that might be a solution for you.

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

Предыдущее
От: "Rajesh Kumar Mallah"
Дата:
Сообщение: Re: psql does not save contents into file at end of command.
Следующее
От: L Bayuk
Дата:
Сообщение: 8.2.0 upgrade issue: postmaster -S