Re: Python and 8.0 beta

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Python and 8.0 beta
Дата
Msg-id 20040824040735.GA52054@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: Python and 8.0 beta  (Tim Penhey <tim@penhey.net>)
Список pgsql-general
On Tue, Aug 24, 2004 at 12:12:35AM +0100, Tim Penhey wrote:
> Peter Eisentraut wrote:
>
> >Tim Penhey wrote:
> >
> >>Are there any python drivers that work with the version 8 beta?
> >>The version seven ones didn't.
> >
> >Why?
> >
> Changed from using pyPgSQL to psycopg and things are working again...

Switching modules may fix your code but it doesn't fix the problem
with pyPgSQL.  I'm guessing that your code was failing with an
exception like the following:

libpq.DatabaseError: Ivalid [sic] format for PgVersion construction.

pyPgSQL's version string parsing fails at the "beta" portion
of "8.0.0beta1".  This has already been reported at Sourceforge
as Bug 1006782; I just followed up to that bug report with a
suggested fix.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Unsupported 3rd-party solutions (Was: Few questions
Следующее
От: David Wheeler
Дата:
Сообщение: Re: UTF-8 and LIKE vs =