Re: "Invalid multibyte character for locale" still there

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "Invalid multibyte character for locale" still there
Дата
Msg-id 21160.1107195409@sss.pgh.pa.us
обсуждение исходный текст
Ответ на "Invalid multibyte character for locale" still there  (Marian POPESCU <softexpert@libertysurf.fr>)
Список pgsql-general
Marian POPESCU <softexpert@libertysurf.fr> writes:
> I put up a testcase at
> http://perso.netpratique.fr/softexpert/pgsql/unicodetest.data.gz

After experimenting, the only case in which I could get that failure was
to deliberately force a database encoding incompatible with the locale,
namely initdb with LC_ALL=en_US (which is implicitly Latin1 on FC3) and
then "createdb -E unicode".  So I think this is pilot error.  You
need to be careful to use a database encoding consistent with the locale
setting.  (In 8.0, initdb should usually get this right if you don't
override it.)

            regards, tom lane

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

Предыдущее
От: Si Chen
Дата:
Сообщение: how to release a transaction lock on a table?
Следующее
От: Shawn Harrison
Дата:
Сообщение: Re: Allowing update of column only from trigger