Re: [BUGS] BUG #5720: Bug for PQescapeByteaConn (libpq)

2010-10-23 Thread Andres Freund
On Saturday 23 October 2010 06:46:31 Craig Ringer wrote: > On 23/10/2010 1:11 AM, Tom Lane wrote: > > "Eiichi Nakamura" writes: > >> For PostgreSQL 9.0.1, after changing server "bytea_output" parameter as > >> "escape" in postgresql.conf file, it is expected that PQescapeByteaConn > >> (libpq) ret

Re: [BUGS] BUG #5720: Bug for PQescapeByteaConn (libpq)

2010-10-23 Thread Craig Ringer
On 10/23/2010 10:19 PM, Andres Freund wrote: The GUC controlls the output - it doesnt control the allowed input. The switch on the client needs to get based on the version - which hopefully doesnt change in a single connection ;-) Ah. Please disregard my comment, then. -- Craig Ringer -- Sen