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

Re: PL/Python: How do I use result methods?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: pgsql-interfaces(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: PL/Python: How do I use result methods?
Date: 2004-12-04 22:18:58
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-interfaces
On Sat, Oct 16, 2004 at 10:56:00AM -0600, Michael Fuhr wrote:

> It looks like nrows(), status(), and fetch() aren't available as
> result object methods.  I don't know what would happen if you
> un-#ifdef-ed that block and the two others that are related;
> perhaps one of the developers can tell us what's going on.
> If the methods aren't available then they probably shouldn't be
> mentioned in the doc.

Any comments on this?  The 8.0.0rc1 PL/Python documentation,
Section 39.3 "Database Access", still mentions the nrows and
status methods, but they don't work.  Here's Oliver's original
message and my followup:

I expect it's too late to fix the code for 8.0, so I'm wondering
if the doc should be updated not to mention these methods, or to
mention them but say that they don't work yet.

Michael Fuhr

In response to


pgsql-hackers by date

Next:From: Roland VolkmannDate: 2004-12-04 22:53:37
Subject: Re: WIN1252 encoding - backend or not?
Previous:From: Robert TreatDate: 2004-12-04 20:56:36
Subject: Re: Error: column "nsptablespace" does not exist

pgsql-interfaces by date

Next:From: Tom LaneDate: 2004-12-05 20:15:33
Subject: Re: [HACKERS] PL/Python: How do I use result methods?
Previous:From: Gaetano SferraDate: 2004-12-03 14:20:15
Subject: jdbc and refcursor problem

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