Re: default locale considered harmful? (was Re: [GENERAL]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: default locale considered harmful? (was Re: [GENERAL]
Дата
Msg-id 17973.1054355535@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: default locale considered harmful? (was Re: [GENERAL]  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: default locale considered harmful? (was Re: [GENERAL]  (Peter Eisentraut <peter_e@gmx.net>)
Re: default locale considered harmful? (was Re: [GENERAL]  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Has the single-byte LIKE penalty been eliminated, so we don't need to
> consider using C as the default locale for initdb, right?

I'm still of the opinion that we should make C the default locale.
But I'm not sure where the consensus is, so I've not made the change.

> If fixed, how was it done?

Peter has provided a hack whereby one can create a LIKE-supporting index
in a non-C locale.  But a *default* index in a non-C locale is still not
going to support LIKE ... and the hacked index will not support ordinary
comparison or ordering operators.  So I think there's still a lot left
to be desired here.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: default locale considered harmful? (was Re: [GENERAL]
Следующее
От: Mike Mascari
Дата:
Сообщение: A few notes