Re: Stuff for 2.4.1 - Mailing list psycopg

From Karsten Hilbert
Subject Re: Stuff for 2.4.1
Date
Msg-id 20110327174046.GH2358@hermes.hilbert.loc
Whole thread Raw
In response to Re: Stuff for 2.4.1  (David Blewett <david@dawninglight.net>)
Responses Re: Stuff for 2.4.1  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List psycopg
> [...] psycopg2's own bytea output parsing [...]

I think it's conceptually better to endure the extra
code/query(s) needed to determine at .connect() time whether
"set bytea_output to ..." is needed or not.

After all this is only going to be relevant within the
window where pre-9 libpq's try to connect to 9+ servers.

For psycopg2's compiled against 9+ libpq's this would IFDEF
out to a noop, essentially.

Either way, thanks for the work on psycopg2 !

Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

psycopg by date:

Previous
From: David Blewett
Date:
Subject: Re: Stuff for 2.4.1
Next
From: Daniele Varrazzo
Date:
Subject: Re: Stuff for 2.4.1