Re: BUG #1268: Two different Unicode chars are treated as

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1268: Two different Unicode chars are treated as
Дата
Msg-id 16990.1096000381@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #1268: Two different Unicode chars are treated as  (Kent Tong <kent@cpttm.org.mo>)
Ответы Re: BUG #1268: Two different Unicode chars are treated as  (Kent Tong <kent@cpttm.org.mo>)
Список pgsql-bugs
Kent Tong <kent@cpttm.org.mo> writes:
> Does it matter? The encoding provided to initdb is just
> a default for the databases to be created in the future.

Yes it does, and you missed the point.  I said *locale*, not *encoding*.
The LC_COLLATE and LC_CTYPE settings that prevail during initdb are
fixed and not alterable without re-initdb.  (I agree that this sucks,
but that's how it is for now...)

Your test program doesn't prove a lot unless you are sure it's executing
under the same locale settings as the postmaster is running in.

            regards, tom lane

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

Предыдущее
От: Kent Tong
Дата:
Сообщение: Re: BUG #1268: Two different Unicode chars are treated as
Следующее
От: John Kelly
Дата:
Сообщение: Regression test geometry.out may have wrong value.