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

Started by Peter Eisentrautover 14 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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(-)