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

From Dave Page
Subject Re: Possible TODO item: copy to/from pipe
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4013885E9@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Possible TODO item: copy to/from pipe  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Possible TODO item: copy to/from pipe
List pgsql-hackers

> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org
> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Andreas Pflug
> Sent: 31 May 2006 16:41
> Cc: Tom Lane; pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] Possible TODO item: copy to/from pipe
>
> Andreas Pflug wrote:
>
> >
> > Won't help too much, until gzip's output is piped back too, so a
> > replacement for COPY .. TO STDOUT COMPRESSED  would be
> > COPY ... TO '| /bin/gzip |' STDOUT, to enable clients to
> receive the
> > reduced stuff.
>
> Forgot to mention:
> COPY COMPRESSED was also meant to introduce a portable format that's
> efficient for both text and binary data. Relying on some
> external XYZzip
> version seems not too portable to me.

It does have that advantage. Gzip and others are not particularly
Windows friendly for example.

Regards, Dave.



pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: Possible TODO item: copy to/from pipe
Next
From: Tom Lane
Date:
Subject: Re: copy with compression progress n