Peter Eisentraut <pete...@gmx.net> writes: > On Fri, 2011-04-15 at 16:09 -0400, Tom Lane wrote: >> That doesn't seem like a particularly good idea in view of the recent >> changes in psql to try to intuit a default encoding from its locale >> environment. If I say --encoding in the command line, that means I want >> that encoding, not an environment-dependent one.
> Actually, in light of that we might want to override PGCLIENTENCODING to > SQL_ASCII, so we get back the results in ASCII (assuming an all-ASCII > test), instead of whatever the client encoding might say, which might > not be an ASCII superset. Well, if you set client_encoding to that, what you will get is no conversion, which is exactly the same result as what you'll get from setting it the same as server_encoding, which is the current behavior. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers