pgsql: Doc: clarify behavior of row-limit arguments in the PLs' SPI wra - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Doc: clarify behavior of row-limit arguments in the PLs' SPI wra
Date
Msg-id E1ptxxq-000Aj7-KR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Doc: clarify behavior of row-limit arguments in the PLs' SPI wrappers.

plperl, plpython, and pltcl all provide query-execution functions
that are thin wrappers around SPI_execute() or its variants.
The SPI functions document their row-count limit arguments clearly,
as "maximum number of rows to return, or 0 for no limit".  However
the PLs' documentation failed to explain this special behavior of
zero, so that a reader might well assume it means "fetch zero
rows".  Improve that.

Daniel Gustafsson and Tom Lane, per report from Kieran McCusker

Discussion: https://postgr.es/m/CAGgUQ6H6qYScctOhktQ9HLFDDoafBKHyUgJbZ6q_dOApnzNTXg@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0e0463fc590c6fe55083ed941e28655bbbb700b4

Modified Files
--------------
doc/src/sgml/plperl.sgml   | 21 ++++++++++++++++-----
doc/src/sgml/plpython.sgml | 13 +++++++++++--
doc/src/sgml/pltcl.sgml    |  8 +++++---
3 files changed, 32 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Fix overridden callbacks in pg_rewind.
Next
From: Amit Kapila
Date:
Subject: pgsql: Fix assertion failure in apply worker.