Re: tolower() identifier downcasing versus multibyte encodings
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: tolower() identifier downcasing versus multibyte encodings |
| Дата | |
| Msg-id | 12444.1300547141@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: tolower() identifier downcasing versus multibyte encodings (Marko Kreen <markokr@gmail.com>) |
| Ответы |
Re: tolower() identifier downcasing versus multibyte encodings
|
| Список | pgsql-hackers |
Marko Kreen <markokr@gmail.com> writes:
> 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()?
Hm, maybe.
There's still the problem of what to do in src/port/pgstrcasecmp.c,
which won't have the infrastructure needed to do that.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера