pgsql: Doc: update libpq's documentation for PQfn(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Doc: update libpq's documentation for PQfn().
Date
Msg-id E1lcYWz-0000AY-Ip@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Doc: update libpq's documentation for PQfn().

Mention specifically that you can't call aggregates, window functions,
or procedures this way (the inability to call SRFs was already
mentioned).

Also, the claim that PQfn doesn't support NULL arguments or results
has been a lie since we invented protocol 3.0.  Not sure why this
text was never updated for that, but do it now.

Discussion: https://postgr.es/m/2039442.1615317309@sss.pgh.pa.us

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/49172d88f9d03d063e680e45fc51dffea218add1

Modified Files
--------------
doc/src/sgml/libpq.sgml | 26 +++++++++++++++++++++++---
1 file changed, 23 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Disallow calling anything but plain functions via the fastpath A
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: add an example of a self-referential foreign key to ddl.sgm