]> 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)
commit9b8e6857b8170f09861baa1bfd074fa0c8af9cfd
tree0cf7c5dcb2831ca1e266cb83086168c1981629b8
parentf05ca47132ddf58de463fd8396a44d7ccd06e123
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