Re: fix testsuite for PG 9.0+

Jan Urbański <[email protected]> Tue, 23 Mar 2010 01:47:07 +0100
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On 23/03/10 01:38, Jan Urbański wrote:
> Hi,
>
> PostgreSQL 9.0 addes a new GUC called bytea_output which controls the
> output format of bytea values. The default is not what PG <9.0 was
> using, so that breaks the tests that use bytea. It seems strange to me
> that PQescapeByteaConn returns data in the old format, while the default
> for the server is to use the new format.

OK, disregard that :-( In my testing psycopg2 was being linked to my 
system installed libpq, which comes from 8.4 and so PQescapeByteaConn 
was giving back data in the 'escape' format. When using both a 9.0 
server and client library the tests pass without any changes, so myh 
previous patch is useless.

Sorry for the noise.

Jan
_______________________________________________
Psycopg mailing list
[email protected]
http://lists.initd.org/mailman/listinfo/psycopg