On Wed, 11 Dec 2002, Bruce Momjian wrote:

> PQescapeString is not for binary data, only for text string, escaping
> quotes and backslashes and stuff like that.  The only binary one is
> PQescapeBytea().

Makes sense.

What exactly is Pg's idea of binary data? Anything !in SQL_CHARACTER ||
!in in LATIN1 || !in ISO8BIT (ie. what needs to be rejected other than
strings containing '\0') ?


-r

Reply via email to