Re: tolower() identifier downcasing versus multibyte encodings

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: tolower() identifier downcasing versus multibyte encodings
Дата
Msg-id AANLkTik9q78ziWT3_71QyokJGqtCyUHPqZRewmEX1d7L@mail.gmail.com
обсуждение исходный текст
Ответ на tolower() identifier downcasing versus multibyte encodings  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: tolower() identifier downcasing versus multibyte encodings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Mar 19, 2011 at 6:10 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Or we could bite the bullet and start using str_tolower(), but the
> performance implications of that are unpleasant; not to mention that
> we really don't want to re-introduce the "Turkish problem" with
> unexpected handling of i/I in identifiers.

How about first pass with 'a' - 'A' and if highbit is found
then str_tolower()?

You will still confuse turks, but at least nothing should break.

-- 
marko


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: tolower() identifier downcasing versus multibyte encodings
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Indent authentication overloading