Re: ts_locale.c: why no t_isalnum() test?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ts_locale.c: why no t_isalnum() test?
Дата
Msg-id 2933409.1666219172@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ts_locale.c: why no t_isalnum() test?  (Corey Huinker <corey.huinker@gmail.com>)
Список pgsql-hackers
Corey Huinker <corey.huinker@gmail.com> writes:
> I see this is already committed, but I'm curious, why do t_isalpha and
> t_isdigit have the pair of /* TODO */ comments? This unfinished business
> isn't explained anywhere in the file.

We really ought to be consulting the locale/collation passed to
the SQL-level operator or function that's calling these things,
instead of hard-wiring the database default.  Passing that down
would take a large and boring patch, but somebody ought to tackle
it someday.

            regards, tom lane



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

Предыдущее
От: Corey Huinker
Дата:
Сообщение: Re: ts_locale.c: why no t_isalnum() test?
Следующее
От: Corey Huinker
Дата:
Сообщение: Re: refactor ownercheck and aclcheck functions