Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-bugspgsql-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

pgsql-admin by date

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

pgsql-bugs by date

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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group