Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 94DCA1337B84 for ; Tue, 14 Dec 2010 12:56:26 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 81802-09 for ; Tue, 14 Dec 2010 16:56:19 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mail.postgresql.org (Postfix) with ESMTP id E7BCA1337B7D for ; Tue, 14 Dec 2010 12:56:18 -0400 (AST) Received: by wwf26 with SMTP id 26so723378wwf.19 for ; Tue, 14 Dec 2010 08:56:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.170.21 with SMTP id o21mr6313318wel.68.1292345775798; Tue, 14 Dec 2010 08:56:15 -0800 (PST) Received: by 10.216.23.72 with HTTP; Tue, 14 Dec 2010 08:56:15 -0800 (PST) In-Reply-To: References: Date: Tue, 14 Dec 2010 17:56:15 +0100 Message-ID: Subject: Re: queriing the version of libpq From: "Massa, Harald Armin" To: Magnus Hagander Cc: PGSQL Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.6 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201012/467 X-Sequence-Number: 170758 >> 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 runt= ime - clearly it would also be useful when >being linked "through" somethin= g like psycopg2. did there something happen? happen as in "an addition of a function to libpq to query its version without a server roundtrip AFTER libpq has been linked into sth has been decided for / against" Harald --=20 GHUM GmbH Harald Armin Massa Spielberger Stra=C3=9Fe 49 70435 Stuttgart 0173/9409607 Amtsgericht Stuttgart, HRB 734971 - persuadere. et programmare