Re: dump encoding (was Re: 8.2 beta blockers) - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: dump encoding (was Re: 8.2 beta blockers)
Date
Msg-id 200609181643.35688.peter_e@gmx.net
Whole thread Raw
In response to dump encoding (was Re: 8.2 beta blockers)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Am Montag, 18. September 2006 15:48 schrieb Tom Lane:
> So there's already an environment dependency, although it's for
> something much less likely to be set than LANG.  I tend to agree
> that we'd better avoid having dumps depend on LANG ... wonder if
> we should remove the dependency on PGCLIENTENCODING too.

I'd say that in principle, any console application should respect the 
console's encoding settings by default.  pg_dump is not only a backup tool 
but also useful for quasi-interactive use.  We could check if stdout goes to 
a terminal or something like that.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Lukas Kahwe Smith
Date:
Subject: Re: [pgsql-www] Developer's Wiki
Next
From: Andrew Dunstan
Date:
Subject: Re: OID conflicts