Re: Re: Turkish locale bug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Turkish locale bug
Дата
Msg-id 4933.983578260@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: Turkish locale bug  (teg@redhat.com (Trond Eivind Glomsrød))
Ответы Re: Re: Turkish locale bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
teg@redhat.com (Trond Eivind Glomsrød) writes:
> Has anyone come up with a good solution? The last one I saw from Tom
> Lane required compile-time options which isn't an option for us.

As far as I know it's fixed in the currently-committed sources.  The
key is to do case normalization for keyword-testing separately from
case normalization of an identifier (after it's been determined not
to be a keyword).  Amazingly enough, SQL99 actually requires this...

In Turkish this means that either INSERT or insert will be seen as
a keyword, while either XINSERT or xinsert will become "x�nsert".
        regards, tom lane


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

Предыдущее
От: teg@redhat.com (Trond Eivind Glomsrød)
Дата:
Сообщение: Re: Re: Turkish locale bug
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: Turkish locale bug