Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id BEA11476FBB for ; Wed, 8 Jan 2003 08:53:01 -0500 (EST) Received: from druid.net (druid.net [216.126.72.98]) by postgresql.org (Postfix) with ESMTP id E3A4F476F3F for ; Wed, 8 Jan 2003 08:52:11 -0500 (EST) Received: by druid.net (Postfix, from userid 1000) id 690571AFF; Wed, 8 Jan 2003 08:54:10 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: "D'Arcy J.M. Cain" To: Gerhard =?iso-8859-1?q?H=E4ring?= , Bruce Momjian Subject: Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm Date: Wed, 8 Jan 2003 08:54:10 -0500 User-Agent: KMail/1.4.3 Cc: Gaetano Mendola , PostgreSQL-interfaces References: <200301072213.h07MD0320646@candle.pha.pa.us> <20030107232853.GB512@lilith.ghaering.test> In-Reply-To: <20030107232853.GB512@lilith.ghaering.test> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301080854.10007.darcy@druid.net> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/37 X-Sequence-Number: 3537 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 | 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.