Alvaro Herrera <[EMAIL PROTECTED]> writes: > Martijn van Oosterhout wrote: >> It seems to me that setting the client encoding based on the >> client-locale is the *only* sensible way of doing it.
> Yes please. > FWIW I'm not sure if it really belongs in libpq, or it must be rather in > psql (and thus in every client). libpq is what implements PGCLIENTENCODING, so I'd say that's where any change in the default has to be handled. Presumably we'd still allow PGCLIENTENCODING to override the locale? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq