David Blewett wrote: > On Wed, Jul 15, 2009 at 12:17 PM, Tom Lane<t...@sss.pgh.pa.us> wrote: > > Well, it might make sense to allow an ENCODING option attached to a COPY > > with a file source/destination. I remain of the opinion that overriding > > client_encoding on a transfer to/from the client is a bad idea.
> I could see a use case for remote client code to do a COPY to STDOUT, > that is actually being redirected to a file. If the consensus is for > local file-based operations only, however, I can structure the patch > that way. Yeah, the problem is that reading to/from files is only allowed to superusers ... (I'm not sure how this affects \copy in psql; probably something you should investigate) -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers