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
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-admin pgsql-bugs 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(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

Browse pgsql-admin by date

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

Browse pgsql-bugs by date

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

Browse pgsql-interfaces by date

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