Re: feature proposal ... - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: feature proposal ...
Date
Msg-id 1127367680.4827.2.camel@fuji.krosing.net
Whole thread Raw
In response to Re: feature proposal ...  (Rod Taylor <pg@rbt.ca>)
List pgsql-hackers
On K, 2005-09-21 at 20:34 -0400, Rod Taylor wrote:
> Sure. But if you are using STDOUT then why does this need to be a server
> side item at all?
> 
> You either have code issuing the commands and collecting the results
> making a standard select just as fast or you are using psql which
> already has multiple display types for SELECT data, including XML
> output, but another could easily be added for CSV style output.

Another advantage of server-side COPY is that pgsql/libpq already does
not try to collect the whole resultset in memory before starting the
display/output process.

-- 
Hannu Krosing <hannu@skype.net>



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 2 forks for md5?
Next
From: Gavin Sherry
Date:
Subject: Re: Minimally avoiding Transaction Wraparound in VLDBs