Re: [GENERAL] queriing the version of libpq

From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: "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:00:39
Message-ID: AANLkTi=my1ecYcAFb8-uPDEw9+piJaSRseJejx+on5Mm@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Magnus, thats great ! And name PQlibVersion is correct ! Thanks.

2010/12/16 Magnus Hagander <magnus(at)hagander(dot)net>

> On Tue, Dec 14, 2010 at 17:56, Massa, Harald Armin <chef(at)ghum(dot)de> wrote:
> >>> My question: Which way is available to query the linked libpq version?
> >
> >> But it does outline that fact that it wouldn't suck to have a >function
> in libpq returning the version so that application can >check this at
> runtime - clearly it would also be useful when >being linked "through"
> something like psycopg2.
> >
> > did there something happen?
>
> Stuck in a local git branch. I've rebased on current and added docs,
> see attachment.
>
> (moving to hackers as well)
>
> --
> Magnus Hagander
> Me: http://www.hagander.net/
> Work: http://www.redpill-linpro.com/
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
>

--
// Dmitriy.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-12-16 16:07:56 Re: [GENERAL] queriing the version of libpq
Previous Message Magnus Hagander 2010-12-16 15:56:32 Re: [GENERAL] queriing the version of libpq

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-12-16 16:07:56 Re: [GENERAL] queriing the version of libpq
Previous Message Bruce Momjian 2010-12-16 15:59:34 Re: Crash on attempt to connect to nonstarted server