From: Christoph Zwerschke <cito@online.de>
To: pgsql-interfaces@postgresql.org
Subject: Re: Finding the pqlib version
Date: Tue, 14 Feb 2006 13:45:58 +0100
Message-ID: <43F1D106.3040700@online.de> (raw)
In-Reply-To: <1139920780.11729.2.camel@localhost.localdomain>
References: <43EDC399.6060203@online.de>
<200602111450.17325.peter_e@gmx.net>
<1139920780.11729.2.camel@localhost.localdomain>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: cito@online.de
Subject: Re: Finding the pqlib version
In-Reply-To: <43F1D106.3040700@online.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox