Re: querying the version of libpq

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: querying the version of libpq
Date: 2010-10-05 21:10:33
Message-ID: AANLkTimnTUr17LBb4QOmsr3MaFMZRpxcBvGFDwyy4Yk7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Tue, Oct 5, 2010 at 22:53, Greg Sabino Mullane <greg(at)turnstep(dot)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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Selena Deckelmann 2010-10-05 23:29:00 Submissions for a PostgreSQL track at MySQL Conf 2011: Due October 25
Previous Message chris h 2010-10-05 21:09:45 help modeling a schedule system

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2010-10-05 21:10:53 Re: Issues with Quorum Commit
Previous Message Oleg Bartunov 2010-10-05 21:05:43 Re: knngist - 0.8