From: Michael Fuhr <mike@fuhr.org>
To: Oliver Elphick <olly@lfix.co.uk>
Cc: pgsql-interfaces@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: PL/Python: How do I use result methods?
Date: Sat, 4 Dec 2004 15:18:58 -0700
Message-ID: <20041204221858.GA73013@winnie.fuhr.org> (raw)
In-Reply-To: <20041016165600.GA71873@winnie.fuhr.org>
References: <1097937269.12716.28.camel@linda>
<20041016165600.GA71873@winnie.fuhr.org>
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:
http://archives.postgresql.org/pgsql-interfaces/2004-10/msg00019.phphttp://archives.postgresql.org/pgsql-interfaces/2004-10/msg00020.php
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
http://www.fuhr.org/~mfuhr/
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: mike@fuhr.org, olly@lfix.co.uk, pgsql-hackers@postgresql.org
Subject: Re: PL/Python: How do I use result methods?
In-Reply-To: <20041204221858.GA73013@winnie.fuhr.org>
* 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