Re: Bug in UTF8-Validation Code?

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Bug in UTF8-Validation Code?
Дата
Msg-id 1174068862.23455.331.camel@dogma.v10.wvs
обсуждение исходный текст
Ответ на Bug in UTF8-Validation Code?  (Mario Weilguni <mweilguni@sime.com>)
Ответы Re: Bug in UTF8-Validation Code?  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
On Tue, 2007-03-13 at 12:00 +0100, Mario Weilguni wrote:
> Hi,
> 
> I've a problem with a database, I can dump the database to a file, but 
> restoration fails, happens with 8.1.4.

I reported the same problem a while back:

http://archives.postgresql.org/pgsql-bugs/2006-10/msg00246.php

Some people think it's a bug, some people don't. It is technically
documented behavior, but I don't think the documentation is clear
enough. I think it is a bug that should be fixed, and here's another
message in the thread that expresses my opinion:

http://archives.postgresql.org/pgsql-bugs/2006-11/msg00033.php

If you look at that email, it includes some examples of surprising
behaviors caused by that bug, particularly with bytea.

In some applications (for which it's impractical to change the source
code), I actually use a CHECK constraint (which raises an exception on
invalid utf8 data) on every text column so that some binary data doesn't
break my slony replication. 

I'd like to see this fixed.

Regards,Jeff Davis



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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Question: pg_class attributes and race conditions ?
Следующее
От: "Pavan Deolasee"
Дата:
Сообщение: Re: Question: pg_class attributes and race conditions ?