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/ ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq