Re: Possible TODO item: copy to/from pipe - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Possible TODO item: copy to/from pipe
Date
Msg-id 447DB5B9.9020601@dunslane.net
Whole thread Raw
In response to Possible TODO item: copy to/from pipe  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Compile libpq with vc8
Next
From: David Fetter
Date:
Subject: Re: Possible TODO item: copy to/from pipe