X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 36F223A5CCF; Sat, 4 Dec 2004 22:19:16 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89805-04; Sat, 4 Dec 2004 22:19:11 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 011AD3A5CCA; Sat, 4 Dec 2004 22:19:07 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id iB4MIxRu026727 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 4 Dec 2004 15:19:01 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id iB4MIwir073081; Sat, 4 Dec 2004 15:18:58 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id iB4MIwCb073080; Sat, 4 Dec 2004 15:18:58 -0700 (MST) (envelope-from mfuhr) Date: Sat, 4 Dec 2004 15:18:58 -0700 From: Michael Fuhr To: Oliver Elphick Cc: pgsql-interfaces@postgresql.org, pgsql-hackers@postgresql.org Subject: Re: PL/Python: How do I use result methods? Message-ID: <20041204221858.GA73013@winnie.fuhr.org> References: <1097937269.12716.28.camel@linda> <20041016165600.GA71873@winnie.fuhr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041016165600.GA71873@winnie.fuhr.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/6 X-Sequence-Number: 5177 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.php http://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/