Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm - Mailing list pgsql-interfaces

From D'Arcy J.M. Cain
Subject Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
Date
Msg-id 200301080854.10007.darcy@druid.net
Whole thread Raw
In response to Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm  (Gerhard Häring <haering_postgresql@gmx.de>)
List 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 by date:

Previous
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
Next
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: [HACKERS] python interface