Re: invalid byte sequence ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: invalid byte sequence ?
Дата
Msg-id 3942.1156428065@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: invalid byte sequence ?  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
Alvaro Herrera <alvherre@commandprompt.com> 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Saving a jpg into Postgresql table
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Length limit for query