Re: Bug in UTF8-Validation Code? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bug in UTF8-Validation Code?
Date
Msg-id 21914.1175699480@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug in UTF8-Validation Code?  (Andrew - Supernews <andrew+nonews@supernews.com>)
Responses Re: Bug in UTF8-Validation Code?  (Tatsuo Ishii <ishii@postgresql.org>)
List pgsql-hackers
Andrew - Supernews <andrew+nonews@supernews.com> writes:
> Thinking about this made me realize that there's another, ahem, elephant
> in the room here: convert().
> By definition convert() returns text strings which are not valid in the
> server encoding. How can this be addressed?

Remove convert().  Or at least redefine it as dealing in bytea not text.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: Auto Partitioning
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Bug in UTF8-Validation Code?