Re: RPM question: Where to put psycopg2 files - Mailing list psycopg

From Harald Armin Massa
Subject Re: RPM question: Where to put psycopg2 files
Date
Msg-id AANLkTi=J4pqKAx=sW=aZEu57EvqraFXPMWbG1gvB+CKU@mail.gmail.com
Whole thread Raw
In response to Re: RPM question: Where to put psycopg2 files  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Responses Re: RPM question: Where to put psycopg2 files  (Federico Di Gregorio <federico.digregorio@dndg.it>)
List psycopg

Honestly I don't know if it would
worth the hassle of adding conditional runtime import: probably not
for the current set of conditional features, they are just a few.

I also doubt it would be worth the hassle.

I think it would be very nice to expose the libpq-version (and quality of this information as in "asked at compile time" or "asked right now, because it is 9.1 or newer and we can do it") to the Python application: so the application programmer would be able to issue workarounds like the "bytea-encoding to escape".

best wishes,

Harald
-- 
Harald Armin Massa     www.2ndQuadrant.com
PostgreSQL  Training, Services  and Support

psycopg by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Re: RPM question: Where to put psycopg2 files
Next
From: Federico Di Gregorio
Date:
Subject: Re: RPM question: Where to put psycopg2 files