Re: querying the version of libpq
Greg Sabino Mullane <greg@turnstep.com>
From: "Greg Sabino Mullane" <greg@turnstep.com>
To: pgsql-general@postgresql.org
Date: 2010-10-05T20:53:03Z
Lists: pgsql-hackers
-----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-----