doc: show functions returning record types and use of ROWS FROM
authorBruce Momjian <[email protected]>
Mon, 5 Oct 2020 20:27:33 +0000 (16:27 -0400)
committerBruce Momjian <[email protected]>
Mon, 5 Oct 2020 20:27:33 +0000 (16:27 -0400)
commit9e2c53d4c8dfa9cd9f72282509ff1c7c466273b0
tree128f3c9e96fd1451e0cd39b5a8a76cfa47104599
parent74dae41e5ac39c41c902119c2101c80d400c0718
doc:  show functions returning record types and use of ROWS FROM

Previously it was unclear exactly how ROWS FROM behaved and how to cast
the data types of columns returned by FROM functions.  Also document
that only non-OUT record functions can have their columns cast to data
types.

Reported-by: [email protected]
Discussion: https://postgr.es/m/158638264419.662.2482095087061084020@wrigleys.postgresql.org

Backpatch-through: 9.5
doc/src/sgml/queries.sgml