Re: [GENERAL] queriing the version of libpq

From: Andrew Chernow <ac(at)esilo(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Massa, Harald Armin" <chef(at)ghum(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] queriing the version of libpq
Date: 2010-12-16 16:22:53
Message-ID: 4D0A3CDD.4070302@esilo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2010-12-16 16:27:01 Re: How to restore from backup to 8.4.3 server using 9.0 dump/restore
Previous Message Tom Lane 2010-12-16 16:13:37 Re: [GENERAL] queriing the version of libpq

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-12-16 16:24:11 Re: default localtimestamp at time zone
Previous Message Tom Lane 2010-12-16 16:19:30 Re: Extensions, patch v18 (merge against master, bitrot-only-fixes)