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

Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Gaetano Mendola <mendola(at)bigfoot(dot)com>
Cc: PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>,darcy(at)druid(dot)net
Subject: Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
Date: 2003-01-07 22:13:00
Message-ID: 200301072213.h07MD0320646@candle.pha.pa.us (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-adminpgsql-bugspgsql-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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

Responses

pgsql-admin by date

Next:From: Bruce MomjianDate: 2003-01-07 22:51:43
Subject: Re: [BUGS] pgdb.py is still wrong [not just] in Postgres 7.3.1
Previous:From: Gareth KirwanDate: 2003-01-07 18:02:49
Subject: Re: Postgresql 7.3 and startup

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2003-01-07 22:51:43
Subject: Re: [BUGS] pgdb.py is still wrong [not just] in Postgres 7.3.1
Previous:From: Bruce MomjianDate: 2003-01-07 22:08:01
Subject: Re: More SSL patches

pgsql-interfaces by date

Next:From: Bruce MomjianDate: 2003-01-07 22:51:43
Subject: Re: [BUGS] pgdb.py is still wrong [not just] in Postgres 7.3.1
Previous:From: Gerhard HintermayerDate: 2003-01-07 17:30:18
Subject: Re: still memory leaks with libpgtcl

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