Re: [GENERAL] queriing the version of libpq

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: "Massa, Harald Armin" <chef(at)ghum(dot)de>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] queriing the version of libpq
Date: 2010-12-16 15:56:32
Message-ID: AANLkTinf_2G3V5cvfx2o1VNDYtvr0u_ntf7c7RH0Gufq@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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/

Attachment Content-Type Size
pqlibversion.patch text/x-patch 3.3 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dmitriy Igrishin 2010-12-16 16:00:39 Re: [GENERAL] queriing the version of libpq
Previous Message Gabi Julien 2010-12-16 15:15:14 Fwd: Re: Postgresql 9.1 pg_last_xact_replay_timestamp limitations

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2010-12-16 15:59:34 Re: Crash on attempt to connect to nonstarted server
Previous Message Tom Lane 2010-12-16 15:54:44 Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)