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

pgsql: PL/Python: Improve documentation of nrows() method

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: PL/Python: Improve documentation of nrows() method
Date: 2012-04-16 08:32:43
Message-ID: E1SJhMZ-0003pG-56@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
PL/Python: Improve documentation of nrows() method

Clarify that nrows() is the number of rows processed, versus the
number of rows returned, which can be obtained using len.  Also add
tests about that.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0f48e0675134eccd905eaf696a03c1e8cc85eab4

Modified Files
--------------
doc/src/sgml/plpython.sgml                |    7 +++-
src/pl/plpython/expected/plpython_spi.out |   58 +++++++++++++++++++++++++++++
src/pl/plpython/sql/plpython_spi.sql      |   22 +++++++++++
3 files changed, 86 insertions(+), 1 deletions(-)

pgsql-committers by date

Next:From: Heikki LinnakangasDate: 2012-04-16 10:07:13
Subject: pgsql: Install plpgsql.h to to include/server at "make install".
Previous:From: Peter EisentrautDate: 2012-04-15 17:25:58
Subject: pgsql: PL/Python: Fix crash when colnames() etc. called withoutresult

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