Re: Bug in UTF8-Validation Code?

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Bug in UTF8-Validation Code?
Дата
Msg-id AFCCBB403D7E7A4581E48F20AF3E5DB201A87833@EXADV1.host.magwien.gv.at
обсуждение исходный текст
Ответ на Bug in UTF8-Validation Code?  (Mario Weilguni <mweilguni@sime.com>)
Ответы Re: Bug in UTF8-Validation Code?  (Mario Weilguni <mweilguni@sime.com>)
Список pgsql-hackers
Mario Weilguni wrote:

> Steps to reproduce:
> create database testdb with encoding='UTF8';
> \c testdb
> create table test(x text);
> insert into test values ('\244'); ==> Is akzepted, even if not UTF8.

This is working as expected, see the remark in
http://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQ
L-SYNTAX-STRINGS

"It is your responsibility that the byte sequences you createare valid characters in the server character set
encoding."

Yours,
Laurenz Albe


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Make configuration parameters fall back to their default values
Следующее
От: Mario Weilguni
Дата:
Сообщение: Re: Bug in UTF8-Validation Code?