Re: Queries with Regular Expressions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Queries with Regular Expressions
Дата
Msg-id 1506.1144356610@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Queries with Regular Expressions  ("John D. Burger" <john@mitre.org>)
Список pgsql-general
"John D. Burger" <john@mitre.org> writes:
>> My queries are utf-8 an the database is SQL_ASCII.

> I suspect the bracketed expression is turning into [aXY], where XY is
> the two-byte sequence corresponding to � in UTF8.

That's what it looks like to me.  You can hardly blame the database for
this, when you haven't clued it in that you're using UTF8.

> I don't know if a UTF8 database will handle this correctly or not.

I believe that it will work in recent PG releases (7.4 and up).

            regards, tom lane

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

Предыдущее
От: Mark Harrison
Дата:
Сообщение: posgresql <-> oracle
Следующее
От: "Silas Justiniano"
Дата:
Сообщение: Re: Queries with Regular Expressions