Re: Bug in UTF8-Validation Code?

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Albe Laurenz <all@adv.magwien.gv.at>
Cc: Mario Weilguni *EXTERN* <mweilguni@sime.com>, Michael Paesold <mpaesold@gmx.at>, pgsql-hackers@postgresql.org
Date: 2007-03-16T13:06:08Z
Lists: pgsql-hackers
Albe Laurenz wrote:
> Mario Weilguni wrote:
>   
>> Is there anything I can do to help with this problem? Maybe
>>     
> implementing a new 
>   
>> GUC variable that turns off accepting wrong encoded sequences (so DBAs
>>     
> still 
>   
>> can turn it on if they really depend on it)?
>>     
>
> I think that this should be done away with unconditionally.
> Or does anybody have a good point for allowing corrupt data
> in text columns?
> Maybe it is the way it is now because nobody could be bothered
> to add the appropriate checks...
>
>   

I agree. It's more or less an integrity violation, IMNSHO.

cheers

andrew