pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gerhard Häring <haering_linux@gmx.de>
To: Gaetano Mendola <mendola@bigfoot.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: 7.3 RMPS bugs ( pgdb.py and postgresql launch script )
Date: Sun, 8 Dec 2002 18:12:13 +0100
Message-ID: <20021208171213.GB788@lilith.ghaering.test> (raw)
In-Reply-To: <asvsve$9lu$1@news.hub.org>
References: <asvsve$9lu$1@news.hub.org>

[Removing cross post to pgsql-admin@postgresql.org]

* Gaetano Mendola <mendola@bigfoot.com> [2002-12-08 17:45 +0100]:
> Hi all,
> 
> the file pgdb.py distribuited with Postgresql 7.3 RPM ( RedHat 8.0)
> is affectd by an error that not permit anymore to use the
> pgdb interface for python.
> 
> In that file there is present the following query:
> 
> SELECT typname, typprtlen, typlen
> FROM pg_type WHERE oid = %s" % oid

Yeah, looks familiar.

> the column typptrlen do not exist anymore in the table pg_type!!!  So
> I replace the column with 4 but I don't know if is a good fix ( BTW my
> regression tests now are working correctly ).

As this value cannot be determined anymore, it's IMO better to set it to
-1 instead. This is what I've done in our alternative PostgreSQL
interface, pyPgSQL (http://pypgsql.sf.net/) and what I've also suggested
to D'Arcy. If I interpreted D'Arcy's response correctly, he's already
fixed this bug in PostgreSQL CVS.

Cheers,

-- Gerhard



view thread (4+ messages)  latest in thread

Message-ID: <20021208171213.GB788@lilith.ghaering.test>
Permalink:  ../20021208171213.GB788@lilith.ghaering.test/
Also on:    postgresql.org/message-id/20021208171213.GB788@lilith.ghaering.test

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: haering_linux@gmx.de, mendola@bigfoot.com, pgsql-bugs@postgresql.org
  Subject: Re: 7.3 RMPS bugs ( pgdb.py and postgresql launch script )
  In-Reply-To: <20021208171213.GB788@lilith.ghaering.test>
  References: <asvsve$9lu$1@news.hub.org> <20021208171213.GB788@lilith.ghaering.test>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox