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

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: default locale considered harmful? (was Re: [GENERAL]
Дата
в 07:21:59
Msg-id
Pine.LNX.4.44.0305311321550.6382-100000@peter.localdomain
Ответ на
Список
Дерево обсуждения
Re: default locale considered harmful? (was Re: [GENERAL] Tom Lane <tgl@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] Tom Lane <tgl@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>
Re: default locale considered harmful? (was Re: [GENERAL] Peter Eisentraut <peter_e@gmx.net>
Re: default locale considered harmful? (was Re: [GENERAL] Peter Eisentraut <peter_e@gmx.net>
Re: default locale considered harmful? (was Re: [GENERAL] Tom Lane <tgl@sss.pgh.pa.us>
Re: default locale considered harmful? (was Re: [GENERAL] Peter Eisentraut <peter_e@gmx.net>
Tom Lane writes:

> 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.

I don't understand why you call this a hack.  Pattern matching and string
comparison simply work differently, so the proper solution is to use
different operator classes.  After all, that's what operator classes exist
for.  What is left to be desired?

-- 
Peter Eisentraut   peter_e@gmx.net


В списке pgsql-hackers по дате отправления
От: Anton V. Kozub
Дата:
Сообщение: REMOVE
От: Rasmus Resen Amossen
Дата:
FAQ