Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id EC0CC1337B47 for ; Thu, 7 Oct 2010 06:23:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 23939-04 for ; Thu, 7 Oct 2010 09:23:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mail.postgresql.org (Postfix) with SMTP id 29D8E13364DE for ; Thu, 7 Oct 2010 06:23:11 -0300 (ADT) Received: (qmail invoked by alias); 07 Oct 2010 09:23:11 -0000 Received: from a88-115-218-165.elisa-laajakaista.fi (EHLO [10.0.0.101]) [88.115.218.165] by mail.gmx.net (mp008) with SMTP; 07 Oct 2010 11:23:11 +0200 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX1+Yx1N3qkqY323V8/My9xLXTZDQoxjKj63GRK4klQ 2eteD1mViJDzP9 Subject: Re: queriing the version of libpq From: Peter Eisentraut To: "Massa, Harald Armin" Cc: PGSQL Mailing List In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Thu, 07 Oct 2010 12:23:10 +0300 Message-ID: <1286443390.25221.4.camel@vanquo.pezone.net> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.51 tagged_above=-5 required=5 tests=BAYES_05=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/310 X-Sequence-Number: 168222 On tis, 2010-10-05 at 09:33 +0200, Massa, Harald Armin wrote: > Now I would love to have an additional check "is the used psycopg2 > linked to an advanced-enough libpq", to be able to set bytea_output to > 'escape' if the libpq is not worthy. This is really something that psycopg2 should work out for you. I suggest you take up a discussion on this on their mailing list.