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

From Magnus Hagander
Subject Re: querying the version of libpq
Date
Msg-id AANLkTimnTUr17LBb4QOmsr3MaFMZRpxcBvGFDwyy4Yk7@mail.gmail.com
Whole thread Raw
In response to Re: querying the version of libpq  ("Greg Sabino Mullane" <greg@turnstep.com>)
Responses Re: querying the version of libpq  ("Greg Sabino Mullane" <greg@turnstep.com>)
List pgsql-general
On Tue, Oct 5, 2010 at 22:53, Greg Sabino Mullane <greg@turnstep.com> wrote:
>
>>> 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.

But that's build-time, not run-time.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

pgsql-general by date:

Previous
From: Tim Uckun
Date:
Subject: Re: Trying to figure out why these queries are so slow
Next
From: Selena Deckelmann
Date:
Subject: Submissions for a PostgreSQL track at MySQL Conf 2011: Due October 25