AW: like and optimization

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: like and optimization
Дата
Msg-id 11C1E6749A55D411A9670001FA6879633681CA@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы Re: AW: like and optimization  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > I made a reproduceable example of things going wrong with a "en_US"
> > locale which is the widely-used (single-byte) ISO-8859-1 Latin 1 charset.
> 
> en_US uses multi-pass collation rules.  It's those collation rules, not
> the charset per se, that causes the problem.

Just to understand things correctly. Is the Like optimization disabled
for all non-ASCII char sets, or (imho correctly) for non charset ordered 
collations (LC_COLLATE) ?

Thus can you enable index optimization by simply setting
LC_COLLATE to C if your LANG is not set to C ?

Andreas


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: FW: Postgresql on win32
Следующее
От: Pete Forman
Дата:
Сообщение: Re: AW: AW: AW: Re: tinterval - operator problems on AIX