Re: Bug in UTF8-Validation Code?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: andrew@supernews.com
Cc: pgsql-hackers@postgresql.org
Date: 2007-04-04T15:11:20Z
Lists: 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