Re: querying the version of libpq
Magnus Hagander <magnus@hagander.net>
From: Magnus Hagander <magnus@hagander.net>
To: Greg Sabino Mullane <greg@turnstep.com>
Cc: pgsql-general@postgresql.org
Date: 2010-10-05T21:10:33Z
Lists: pgsql-hackers
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/