Re: querying the version of libpq
Greg Sabino Mullane <greg@turnstep.com>
From: "Greg Sabino Mullane" <greg@turnstep.com>
To: pgsql-general@postgresql.org
Date: 2010-10-05T20:39:41Z
Lists: 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@turnstep.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-----