Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm - Mailing list pgsql-interfaces

From Bruce Momjian
Subject Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
Date
Msg-id 200301072213.h07MD0320646@candle.pha.pa.us
Whole thread Raw
Responses Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
List pgsql-interfaces
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,
Pennsylvania19073
 


pgsql-interfaces by date:

Previous
From: Gerhard Hintermayer
Date:
Subject: Re: still memory leaks with libpgtcl
Next
From: Gerhard Häring
Date:
Subject: Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm