]> 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)
commitdd0a64ed435d4a266ed16adb8204e7222af6c164
treebfd385f14965252ea2315d5ef8eb3da131d25f0b
parent253f1025da8c8d6e52f96f764658b76eb59290ad
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