X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 094C39FA5E9 for ; Wed, 31 May 2006 15:13:38 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 97503-06 for ; Wed, 31 May 2006 15:13:32 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by postgresql.org (Postfix) with ESMTP id C6E569FA5E1 for ; Wed, 31 May 2006 15:13:30 -0300 (ADT) Received: from [84.143.7.134] (helo=pse.dyndns.org) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1FlVCA33YC-0001sK; Wed, 31 May 2006 20:13:27 +0200 Received: from pse1 ([192.168.0.3]) by pse.dyndns.org with esmtp (Exim 4.44) id 1FlVC7-0004vj-BF; Wed, 31 May 2006 20:13:23 +0200 Message-ID: <447DDCC3.7040304@pse-consulting.de> Date: Wed, 31 May 2006 20:13:23 +0200 From: Andreas Pflug User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Browne CC: pgsql-hackers@postgresql.org Subject: Re: Possible TODO item: copy to/from pipe References: <447DC5B4.4080407@pse-consulting.de> <60ac8yt74e.fsf@dba2.int.libertyrms.com> In-Reply-To: <60ac8yt74e.fsf@dba2.int.libertyrms.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:0ce7ee5c3478b8d72edd8e05ccd40b70 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/1341 X-Sequence-Number: 84206 Chris Browne wrote: > pgadmin@pse-consulting.de (Andreas Pflug) writes: > >>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. > > > Shall we make PostgreSQL less powerful because of that? I never said that. We shall seek solutions that run painless on most popular platforms are useful to users. I wonder if we'd be able to ship gzip with the windows installer, to insure proper integration. Regards, Andreas