Re: fix testsuite for PG 9.0+

Federico Di Gregorio <fog-NGVKUo/i/[email protected]> Tue, 23 Mar 2010 10:57:30 +0100
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On 23/03/2010 01:47, Jan UrbaƄski wrote:
>> 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.

Don't worry and thank you very much for your patches and comments. I'll
look into the async stuff later tonight when I'll have some free hacking
time.

federico

-- 
Federico Di Gregorio    <mailto:fog-NGVKUo/i/[email protected]> <jid:[email protected]>
DISCLAIMER. If I receive a message from you, you are agreeing that:
 1. I am by definition, "the intended recipient".
 2. All information in the email is mine to do with as I see fit and
 make such financial profit, political mileage, or good joke as it lends
 itself to. In particular, I may quote it on USENET or the WWW.
 3. I may take the contents as representing the views of your company.
 4. This overrides any disclaimer or statement of confidentiality that
 may be included on your message.

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
signature.asc (application/pgp-signature, 262 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuokJAACgkQvcCgrgZGjeujrgCfWN/6WfW2c1cwaap03Q394xpv
jUcAnRD6xnoG1zQv8Qzcw2k6kPYmfAs2
=0eYD
-----END PGP SIGNATURE-----