Re: dump encoding (was Re: 8.2 beta blockers)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Michael Paesold <mpaesold(at)gmx(dot)at>
Subject: Re: dump encoding (was Re: 8.2 beta blockers)
Date: 2006-09-18 14:43:34
Message-ID: 200609181643.35688.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-09-18 14:45:02 Re: Interesting CREATE TABLE AS misbehavior
Previous Message Andrew Dunstan 2006-09-18 14:43:32 Re: OID conflicts