Skip site navigation (1) Skip section navigation (2)

Re: Finding the pqlib version

From: Christoph Zwerschke <cito(at)online(dot)de>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Finding the pqlib version
Date: 2006-02-14 12:45:58
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
Murray Cumming wrote:
> On Sat, 2006-02-11 at 14:50 +0100, Peter Eisentraut wrote:
>> Christoph Zwerschke wrote:
>>> However, there is no such thing as "PQLIB_VERSION_MAJOR".
>>> Anything else I could query instead?
>> You should query the presence of the function, not the version of the 
>> library.
> If pqlib installed a pkg-config .pc file then this would be simpler.

Yes. You could use pg_config, but this is usually only included in the 
server package, not in the libs package.

-- Christoph

In response to


pgsql-interfaces by date

Next:From: Peter EisentrautDate: 2006-02-14 20:48:41
Subject: Re: Finding the pqlib version
Previous:From: Murray CummingDate: 2006-02-14 12:39:40
Subject: Re: Finding the pqlib version

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group