Skip site navigation (1) Skip section navigation (2)

Re: Stuff for 2.4.1

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: psycopg(at)postgresql(dot)org
Subject: Re: Stuff for 2.4.1
Date: 2011-03-27 17:40:46
Message-ID: 20110327174046.GH2358@hermes.hilbert.loc (view raw, whole thread or download thread mbox)
Lists: 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 !

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

In response to


psycopg by date

Next:From: Daniele VarrazzoDate: 2011-03-27 18:25:20
Subject: Re: Stuff for 2.4.1
Previous:From: David BlewettDate: 2011-03-27 17:23:56
Subject: Re: Stuff for 2.4.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group