Re: PQescapeBytea is not multibyte aware - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PQescapeBytea is not multibyte aware
Date
Msg-id 25986.1018030036@sss.pgh.pa.us
Whole thread Raw
In response to Re: PQescapeBytea is not multibyte aware  (Joe Conway <mail@joeconway.com>)
List pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> I could take a look at this. Any guidance other than "faithfully 
> preserving the contents of a C string"?

Take textin/textout, remove multibyte awareness?  Actually the hard
part is to figure out which of the existing hardwired calls of textin
and textout would need to be replaced by calls to unknownin/unknownout.
I think the assumption UNKNOWN == TEXT has crept into a fair number of
places by now.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: timeout implementation issues
Next
From: Joe Conway
Date:
Subject: Re: PQescapeBytea is not multibyte aware