Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 052DD476D40 for ; Tue, 7 Jan 2003 17:13:13 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id AE3DC476D13 for ; Tue, 7 Jan 2003 17:13:07 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h07MD0320646; Tue, 7 Jan 2003 17:13:00 -0500 (EST) From: Bruce Momjian Message-Id: <200301072213.h07MD0320646@candle.pha.pa.us> Subject: Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm In-Reply-To: To: Gaetano Mendola Date: Tue, 7 Jan 2003 17:13:00 -0500 (EST) Cc: PostgreSQL-interfaces , darcy@druid.net X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/28 X-Sequence-Number: 3528 CC'ing D'Arcy. Sorry, we really can't backpatch that unless D'Arcy does it. He controls the python interface and applied the patch only to CVS head. --------------------------------------------------------------------------- Gaetano Mendola wrote: > I already post the fact that the file pgdb.py distribuited with > Postgres 7.3 is wrong but was not already fixed in 7.3.1 !!!! > > The class pgdbTypeCache is not working with the version 7.3.1 > the method getdescr try to do the following select: > > "SELECT typname, typprtlen, typlen FROM pg_type" > > and the column typprtlen is not anymore available, > I suggested to rewrite that select in this way: > > "SELECT typname, 4, typlen FROM pg_type" > > and someone else suggested: > > "SELECT typname, -1, typlen FROM pg_type" > > > > why was not yet corrected ? > > > Ciao > Gaetano > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073