pgsql: Doc: update libpq's documentation for PQfn().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: update libpq's documentation for PQfn().
Date: 2021-04-30 19:10:29
Message-ID: E1lcYWz-0000AY-Ip@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-04-30 19:38:22 pgsql: Doc: add an example of a self-referential foreign key to ddl.sgm
Previous Message Tom Lane 2021-04-30 18:10:49 pgsql: Disallow calling anything but plain functions via the fastpath A