Re: Non-C locale and LIKE

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Non-C locale and LIKE
Дата
Msg-id 200411280929.49995.peter_e@gmx.net
обсуждение исходный текст
Ответ на Non-C locale and LIKE  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Non-C locale and LIKE  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian wrote:
> However, I am wondering if we should create a character lookup during
> initdb that has the characters ordered so we can do:

That won't work.  Real-life collations are too complicated.

> Also, we mention you should use the "C" locale to use normal indexes
> for LIKE but isn't it more correct to say the encoding has to be
> SQL_ASCII?

No, the locale decides the ordering.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Fix for NLS in pgport
Следующее
От: Thomas Hallgren
Дата:
Сообщение: Status of server side Large Object support?