Re: PQescapeByteaConn and the new hex encoding - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PQescapeByteaConn and the new hex encoding
Date
Msg-id 7336.1261763666@sss.pgh.pa.us
Whole thread Raw
In response to PQescapeByteaConn and the new hex encoding  (Matteo Beccati <php@beccati.com>)
Responses Re: PQescapeByteaConn and the new hex encoding
List pgsql-hackers
Matteo Beccati <php@beccati.com> writes:
> However, before taking a look at the actual code and understanding its 
> behaviour, I tried using "SET bytea_output = 'escape'" and I was 
> expecting PQescapeByteaConn to honour it.

Why?  PQescapeByteaConn's charter is to produce something that will work
on the given connection, no more and no less.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Initial refactoring of plperl.c - rebased [PATCH]
Next
From: Pavel Stehule
Date:
Subject: Re: info about patch: using parametrised query in psql