Re: [GENERAL] queriing the version of libpq

Andrew Chernow <ac@esilo.com>

From: Andrew Chernow <ac@esilo.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, "Massa, Harald Armin" <chef@ghum.de>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-12-16T16:22:53Z
Lists: pgsql-hackers
>
> And it *could* be used in exactly the case you're outlining as long as
> you load the function dynamically.

Detecting the presence of a function does not require a version number. 
  If the symbol is in the library, use it.

The only reason the version number would come into play is if you were 
attempting to detect behavior differences.

-- 
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/