From: Greg Sabino Mullane <greg@turnstep.com>
To: pgsql-general@postgresql.org
Subject: Re: queriing the version of libpq
Date: Tue, 5 Oct 2010 14:32:11 -0000
Message-ID: <f29d17cf5ceaf81fb3ae45f5151168a3@biglumber.com> (raw)
In-Reply-To: <AANLkTi=q5iTGCjtMN1hv+O4bbCbeX-cWxr0Z2uyqkaUg@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
> My question: Which way is available to query the linked libpq version?
That's information your driver should be supplying. For example, in
Perl (DBD::Pg), you would say
if ($dbh->{pg_lib_version} >= 90000) {
I'd raise a bug with psycopg2 if it does not provide that information.
- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 201010051030
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----
iEYEAREDAAYFAkyrNskACgkQvJuQZxSWSsiW7wCfYge62y175Xtsk4drGbnt7UU5
0R4Ani1gxDhNA0xdHoq+xxxROjuC4wh+
=n33y
-----END PGP SIGNATURE-----
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: greg@turnstep.com
Subject: Re: queriing the version of libpq
In-Reply-To: <f29d17cf5ceaf81fb3ae45f5151168a3@biglumber.com>
References: <AANLkTi=q5iTGCjtMN1hv+O4bbCbeX-cWxr0Z2uyqkaUg@mail.gmail.com> <f29d17cf5ceaf81fb3ae45f5151168a3@biglumber.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox