Re: Rough draft for Unicode-aware UPPER()/LOWER()/INITCAP()

Поиск
Список
Период
Сортировка
От Marko Karppinen
Тема Re: Rough draft for Unicode-aware UPPER()/LOWER()/INITCAP()
Дата
Msg-id C1763111-A7D1-11D8-9207-000A95C56374@karppinen.fi
обсуждение исходный текст
Ответ на Re: Rough draft for Unicode-aware  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список pgsql-hackers
Tatsuo Ishii wrote:
>> initdb could even emit a warning if the --encoding option was
>> used without also specifying --no-locale.
>
> Please don't do that. Most Asian chasets does not work with locale
> enabled PostgreSQL installation. i.e. it returns WRONG SELECT
> results. I've been telling this to Japanese users for hundreds of
> times when they ask me why SELECT returns results. If that kind of
> wanings are installed, I think more Japanese users will be confused.

You've advocated a default of --no-locale yourself for this reason.
If using a Japanese --encoding setting without --no-locale emitted
a warning suggesting the use of --no-locale, I'd imagine you wouldn't
have had to give human support to most of those hundreds of people?

Wouldn't that be a halfway point to your goal?

mk



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

Предыдущее
От: Hans-Jürgen Schönig
Дата:
Сообщение: Re: Call for 7.5 feature completion
Следующее
От: Marko Karppinen
Дата:
Сообщение: Re: enabling tcpip_socket by default