Re: Finding the pqlib version - Mailing list pgsql-interfaces

From Christoph Zwerschke
Subject Re: Finding the pqlib version
Date
Msg-id 43F1D106.3040700@online.de
Whole thread Raw
In response to Re: Finding the pqlib version  (Murray Cumming <murrayc@murrayc.com>)
Responses Re: Finding the pqlib version
List 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


pgsql-interfaces by date:

Previous
From: Murray Cumming
Date:
Subject: Re: Finding the pqlib version
Next
From: Peter Eisentraut
Date:
Subject: Re: Finding the pqlib version