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

From Tom Lane
Subject Re: PQescapeBytea is not multibyte aware
Date
Msg-id 29864.1018032052@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 think you're correct that in a client/database encoding mismatch 
> scenario, there would be bigger problems. Thoughts on this?

This scenario is probably why Tatsuo wants PQescapeBytea to octalize
everything with the high bit set; I'm not sure there's any lesser way
out.  Nonetheless, if UNKNOWN conversion introduces additional failures
then it makes sense to fix that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: PQescapeBytea is not multibyte aware
Next
From: "Dann Corbit"
Date:
Subject: Suggestion for optimization