[COMMITTERS] pgsql: Doc: improve documentation of new SRF-in-tlist behavior. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Doc: improve documentation of new SRF-in-tlist behavior.
Date
Msg-id E1cTzN9-0001Am-SJ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Doc: improve documentation of new SRF-in-tlist behavior.

Correct a misstatement about how things used to work: we did allow nested
SRFs before, as long as no function had more than one set-returning input.

Also, attempt to document the fact that the new implementation changes the
behavior for SRFs within conditional constructs (eg CASE): the conditional
construct no longer gates whether the SRF is run, and thus cannot affect
the number of rows emitted.  We might want to change this behavior, but
first it behooves us to see if we can explain it.

Minor other wordsmithing on what I wrote yesterday, too.

Discussion: https://postgr.es/m/20170118214702.54b2mdbxce5piwv5@alap3.anarazel.de

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f13a1277aa2df301583c6db9c2989d2e9d7f6483

Modified Files
--------------
doc/src/sgml/xfunc.sgml | 57 ++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 47 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: [COMMITTERS] pgsql: Move targetlist SRF handling from expression evaluation to newe
Next
From: Andres Freund
Date:
Subject: [COMMITTERS] pgsql: Adapt python regression tests to 69f4b9c85f16.