Re: Possible TODO item: copy to/from pipe

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Possible TODO item: copy to/from pipe
Дата
Msg-id 447DB5B9.9020601@dunslane.net
обсуждение исходный текст
Ответ на Possible TODO item: copy to/from pipe  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
>
> You can accomplish COPY piping now through psql, but it's a bit awkward:
>
>     psql -c "COPY mytable TO stdout" mydb | gzip ...
>
> Thoughts?  Is this worth doing, or is the psql -c approach good enough?
>
>     

I think it's good enough. And there is also
  pg_dump -F c -t bigtable -f bigtable.dump

cheers

andrew


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Compile libpq with vc8
Следующее
От: David Fetter
Дата:
Сообщение: Re: Possible TODO item: copy to/from pipe