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

From Greg Sabino Mullane
Subject Re: querying the version of libpq
Date
Msg-id dee2643d13434a7545004592d37b2023@biglumber.com
Whole thread Raw
In response to Re: querying the version of libpq  (Magnus Hagander <magnus@hagander.net>)
Responses Re: querying the version of libpq  (Magnus Hagander <magnus@hagander.net>)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


>> 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.
>
> How do you get pg_config to tell you which of the multiple versions of
> libpq that may be installed on the machine you are actually linking
> against?

Not sure what you mean. pg_config *drives* the compilation and linking,
we don't blindly compile and simply take pg_config's word for it.
pg_config --libdir and pg_config --includedir.

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

iEYEAREDAAYFAkyrkB0ACgkQvJuQZxSWSsh4OACglNyrdKgf1jk5op7yzBw1Mh4M
sFUAnjiWVUDjNmJbNRnsuumZxzZvxQCT
=ig1E
-----END PGP SIGNATURE-----



pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: querying the version of libpq
Next
From: Tom Lane
Date:
Subject: Re: querying the version of libpq