The following bug has been logged online:
Bug reference: 5720
Logged by: Eiichi Nakamura
Email address: nakamura(at)nepsys(dot)ddo(dot)jp
PostgreSQL version: 9.0.1
Operating system: Linux kernel 2.6.27
Description: Bug for PQescapeByteaConn (libpq)
Details:
For PostgreSQL 9.0.1, after changing server "bytea_output" parameter as
"escape" in postgresql.conf file, it is expected that PQescapeByteaConn
(libpq) returns "escape" format.
However, PQescapeByteaConn still returns "hex" (server default) format.
Would you please modify PQescapeByteaConn behaviours for next release?
By the way, PQescapeBytea returns correct format.