Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8EE2D475E24; Thu, 26 Dec 2002 07:15:26 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 5CB90475DB3; Thu, 26 Dec 2002 07:15:24 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id E656843A5AE; Thu, 26 Dec 2002 07:15:23 -0500 (EST) From: "Gaetano Mendola" X-Newsgroups: comp.databases.postgresql.admin,comp.databases.postgresql.bugs Subject: pgdb.py is still wrong in Postgres 7.3.1 rpm Date: Thu, 26 Dec 2002 13:15:24 +0100 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 28 Message-ID: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 To: pgsql-admin@postgresql.org, pgsql-bugs@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/303 X-Sequence-Number: 6798 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