| From: | "Greg Sabino Mullane" <greg(at)turnstep(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: querying the version of libpq |
| Date: | 2010-10-05 15:33:15 |
| Message-ID: | 2f4c4dd73daff9a8250254f63e70526f@biglumber.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
>> if ($dbh->{pg_lib_version} >= 90000) {
>>
>> I'd raise a bug with psycopg2 if it does not provide that information.
>
> How does the driver figure it out?
DBD::Pg parses pg_config --version, then passes the information
to the C programs for directive fiddling. I certainly hope
other drivers are doing the same, as libpq varies across
major versions a good deal.
- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 201010051132
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----
iEYEAREDAAYFAkyrRR8ACgkQvJuQZxSWSsgHmwCfaAPXXA1YCZ6OgOjyis6uKVmz
HvoAnj42290eDAGO+HDsGVZvOAqwEXeR
=P8XV
-----END PGP SIGNATURE-----
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Geoghegan | 2010-10-05 15:52:28 | Re: querying the version of libpq |
| Previous Message | Magnus Hagander | 2010-10-05 14:38:21 | Re: queriing the version of libpq |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2010-10-05 15:37:22 | Re: configure gaps |
| Previous Message | KaiGai Kohei | 2010-10-05 15:33:09 | Re: leaky views, yet again |