doc: show functions returning record types and use of ROWS FROM

Bruce Momjian <bruce@momjian.us>

Commit: 9b8e6857b8170f09861baa1bfd074fa0c8af9cfd
Author: Bruce Momjian <bruce@momjian.us>
Date: 2020-10-05T20:27:33Z
Releases: 12.5
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

Files

PathChange+/−
doc/src/sgml/queries.sgml modified +29 −1

Documentation touched