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)
commit54ec775e39cda4bf4047a03699e191e5a9f1fd27
treea82c0b00fdbc594cfcd965415a9f581da905db68
parente3bd026fbb91c64e99c2a66eceb2dba3cc3ec6f0
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