Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3050C1337BA1 for ; Tue, 5 Oct 2010 11:32:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 62889-04 for ; Tue, 5 Oct 2010 14:32:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from zql.com (3a.1f.de.static.xlhost.com [206.222.31.58]) by mail.postgresql.org (Postfix) with ESMTP id 093851335B36 for ; Tue, 5 Oct 2010 11:32:11 -0300 (ADT) Received: from localhost ([127.0.0.1]) by zql.com with smtp (Exim 4.68) (envelope-from ) id 1P38Yt-0003Jn-LR; Tue, 05 Oct 2010 10:32:11 -0400 From: "Greg Sabino Mullane" To: pgsql-general@postgresql.org Subject: Re: queriing the version of libpq X-PGP-Key: 2529 DF6A B8F7 9407 E944 45B4 BC9B 9067 1496 4AC8 X-Request-PGP: http://www.biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 In-Reply-To: Date: Tue, 5 Oct 2010 14:32:11 -0000 X-Mailer: JoyMail 2.4.0 Message-ID: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201010/175 X-Sequence-Number: 168087 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 > My question: Which way is available to query the linked libpq version? That's information your driver should be supplying. For example, in Perl (DBD::Pg), you would say if ($dbh->{pg_lib_version} >= 90000) { I'd raise a bug with psycopg2 if it does not provide that information. - -- Greg Sabino Mullane greg@turnstep.com PGP Key: 0x14964AC8 201010051030 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAkyrNskACgkQvJuQZxSWSsiW7wCfYge62y175Xtsk4drGbnt7UU5 0R4Ani1gxDhNA0xdHoq+xxxROjuC4wh+ =n33y -----END PGP SIGNATURE-----