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

From: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
To: Gerhard Häring <haering_postgresql(at)gmx(dot)de>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Gaetano Mendola <mendola(at)bigfoot(dot)com>, PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
Date: 2003-01-08 13:54:10
Message-ID: 200301080854.10007.darcy@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-bugs 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(at){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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2003-01-08 14:48:16 Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
Previous Message D'Arcy J.M. Cain 2003-01-08 13:50:06 Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2003-01-08 14:48:16 Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
Previous Message D'Arcy J.M. Cain 2003-01-08 13:50:06 Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm

Browse pgsql-interfaces by date

  From Date Subject
Next Message D'Arcy J.M. Cain 2003-01-08 13:57:42 Re: python interface
Previous Message D'Arcy J.M. Cain 2003-01-08 13:50:06 Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm