Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm

Поиск
Список
Период
Сортировка
От D'Arcy J.M. Cain
Тема Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
Дата
Msg-id 200301080854.10007.darcy@druid.net
обсуждение исходный текст
Ответ на Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm  (Gerhard Häring <haering_postgresql@gmx.de>)
Список pgsql-interfaces
On Tuesday 07 January 2003 18:28, Gerhard Häring wrote:
> I recently asked a related question in the Python DB-SIGs mailing list
> recently in a thread
>
>     "cursor.description - values for 'I don't know'"
>
> asking which value to use for unknown values in cursor.description
> (here: the displaysize field).
>
> The answer is to use None for unknown values, *not* -1 like I proposed
> above. In fact, the DB-API 2.0 specification clearly says so, but it
> somehow slipped my eye.

I have fixed this in HEAD.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.


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

Предыдущее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
Следующее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: Re: [HACKERS] python interface