Re: Regexps vs. locale

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Regexps vs. locale
Дата
Msg-id 23275.1228742336@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Regexps vs. locale  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: Regexps vs. locale  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-hackers
Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> Obviously, this happens because the locale support functions in
> backend/regex/regc_locale.c are (presumably intentionally) crippled so
> as not to support non-ascii chars, despite all the code there using
> wide chars for everything otherwise.

It's not so much intentional as that no one has gotten around to making
it work.  The difficulty is that the wide-char codes we are using might
not match what the <wctype.h> functions expect, and it's unclear what
we could do to fix that.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Multiplexing SUGUSR1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Synchronous replication: sleeping