pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Pflug <pgadmin@pse-consulting.de>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Possible TODO item: copy to/from pipe
Date: Wed, 31 May 2006 18:35:00 +0200
Message-ID: <447DC5B4.4080407@pse-consulting.de> (raw)
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4013885E9@ratbert.vale-housing.co.uk>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4013885E9@ratbert.vale-housing.co.uk>

Dave Page wrote:
>  
> 
> 
>>-----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.

... as most windows programs are pipe agnostic.

Regards,
Andreas



view thread (36+ messages)  latest in thread

Message-ID: <447DC5B4.4080407@pse-consulting.de>
Permalink:  ../447DC5B4.4080407@pse-consulting.de/
Also on:    postgresql.org/message-id/447DC5B4.4080407@pse-consulting.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: pgadmin@pse-consulting.de, dpage@vale-housing.co.uk, tgl@sss.pgh.pa.us
  Subject: Re: Possible TODO item: copy to/from pipe
  In-Reply-To: <447DC5B4.4080407@pse-consulting.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox