Re: querying the version of libpq - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: querying the version of libpq
Date
Msg-id e9848cc536fedfb3672aa4b5d9ff235a@biglumber.com
Whole thread Raw
In response to Re: querying the version of libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: querying the version of libpq  (Magnus Hagander <magnus@hagander.net>)
Re: querying the version of libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
-----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-----



pgsql-general by date:

Previous
From: bricklen
Date:
Subject: Re: optimization (can I move pgsql_tmp)?
Next
From: Dmitriy Igrishin
Date:
Subject: Re: querying the version of libpq