]> git.ipfire.org Git - thirdparty/postgresql.git/commit
doc: show functions returning record types and use of ROWS FROM
authorBruce Momjian <bruce@momjian.us>
Mon, 5 Oct 2020 20:27:33 +0000 (16:27 -0400)
committerBruce Momjian <bruce@momjian.us>
Mon, 5 Oct 2020 20:27:33 +0000 (16:27 -0400)
commit997188b6e0a11c60ddab369969ea2e57202941b8
tree7c0c455829ab66ecf42d96c5aeb73e9606c0bf4e
parentf6a23344f8c8ec155399375d048a890afaa575ab
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: guyren@gmail.com
Discussion: https://postgr.es/m/158638264419.662.2482095087061084020@wrigleys.postgresql.org

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