Re: queriing the version of libpq

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: "Massa, Harald Armin" <chef@ghum.de>
Cc: PGSQL Mailing List <pgsql-general@postgresql.org>
Date: 2010-10-07T09:23:10Z
Lists: pgsql-hackers
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.