Re: RPM question: Where to put psycopg2 files

Поиск
Список
Период
Сортировка
От Federico Di Gregorio
Тема Re: RPM question: Where to put psycopg2 files
Дата
Msg-id 4D345DEA.9060309@dndg.it
обсуждение исходный текст
Ответ на Re: RPM question: Where to put psycopg2 files  (Harald Armin Massa <harald@2ndQuadrant.com>)
Ответы Re: RPM question: Where to put psycopg2 files  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
On 17/01/2011 16:08, Harald Armin Massa wrote:
>
>     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".

Exposing the compile version (and in the future the runtime one) would
be extremely useful for client code, IMHO.

federico

--
Federico Di Gregorio                         federico.digregorio@dndg.it
Studio Associato Di Nunzio e Di Gregorio                  http://dndg.it
                      The number of the beast: vi vi vi. -- Delexa Jones

В списке psycopg по дате отправления:

Предыдущее
От: Harald Armin Massa
Дата:
Сообщение: Re: RPM question: Where to put psycopg2 files
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: RPM question: Where to put psycopg2 files