Re: [GENERAL] queriing the version of libpq
Dmitry Igrishin <dmitigr@gmail.com>
From: Dmitriy Igrishin <dmitigr@gmail.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: "Massa, Harald Armin" <chef@ghum.de>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-12-16T16:00:39Z
Lists: pgsql-hackers
Magnus, thats great ! And name PQlibVersion is correct ! Thanks. 2010/12/16 Magnus Hagander <magnus@hagander.net> > On Tue, Dec 14, 2010 at 17:56, Massa, Harald Armin <chef@ghum.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@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers > > -- // Dmitriy.