Re: Finding the pqlib version

From: Murray Cumming <murrayc(at)murrayc(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org, Christoph Zwerschke <cito(at)online(dot)de>
Subject: Re: Finding the pqlib version
Date: 2006-02-14 12:39:40
Message-ID: 1139920780.11729.2.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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.

--
Murray Cumming
murrayc(at)murrayc(dot)com
www.murrayc.com
www.openismus.com

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Christoph Zwerschke 2006-02-14 12:45:58 Re: Finding the pqlib version
Previous Message Jeroen T. Vermeulen 2006-02-14 03:30:43 Re: Client libraries supporting pipelining