Re: querying the version of libpq

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 20:39:41
Message-ID: e9848cc536fedfb3672aa4b5d9ff235a@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> The real problem is that neither of these can be trusted to tell you the
> *library* version. PQserverVersion() is something else altogether,
> and I wouldn't want to assume that pg_config exactly matches the library
> you're linked to --- if it's even present at all.

Er...yes it will match exact...because we[1] get the location of the
library files from pg_config as well. :) Handy little utility that.

[1] DBD::Pg

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201010051638
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkyrjPUACgkQvJuQZxSWSsiONwCfb8t30qkOBSKmMYDz2qL0mXIp
Xp4AoM2pQIQzUOSx4r8ZPdzNp/lA2Ar3
=1Ano
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dmitriy Igrishin 2010-10-05 20:41:49 Re: querying the version of libpq
Previous Message bricklen 2010-10-05 20:18:53 Re: optimization (can I move pgsql_tmp)?

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitriy Igrishin 2010-10-05 20:41:49 Re: querying the version of libpq
Previous Message bricklen 2010-10-05 20:37:40 Re: leaky views, yet again