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 19:18:26
Message-ID: 20110327191826.GK2358@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On Sun, Mar 27, 2011 at 07:37:52PM +0100, Daniele Varrazzo wrote:

> > 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.
>
> Unfortunately there's no reliable way to do this. The problem is in
> the runtime library, not in the one used at compile time, and there is
> no way to know the runtime version - not for libraries before 9.0.

Well, one could roundtrip a bit of binary data, no ?

(I realize this wouldn't help all that much.)

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

In response to

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2011-03-27 19:36:47 Re: Stuff for 2.4.1
Previous Message Adrian Klaver 2011-03-27 19:01:09 Re: Stuff for 2.4.1