Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
От | Bruce Momjian |
---|---|
Тема | Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm |
Дата | |
Msg-id | 200301072213.h07MD0320646@candle.pha.pa.us обсуждение исходный текст |
Ответы |
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 |
Список | 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 по дате отправления: