@@ -647,15 +647,15 @@ FROM (VALUES ('anne', 'smith'), ('bob', 'jones'), ('joe', 'blow'))
647647 </para>
648648
649649 <para>
650- Table functions may also be combined using the <literal>TABLE</literal >
650+ Table functions may also be combined using the <literal>ROWS FROM</ >
651651 syntax, with the results returned in parallel columns; the number of
652652 result rows in this case is that of the largest function result, with
653653 smaller results padded with NULLs to match.
654654 </para>
655655
656656<synopsis>
657657<replaceable>function_call</replaceable> <optional>WITH ORDINALITY</optional> <optional><optional>AS</optional> <replaceable>table_alias</replaceable> <optional>(<replaceable>column_alias</replaceable> <optional>, ... </optional>)</optional></optional>
658- TABLE ( <replaceable>function_call</replaceable> <optional>, ... </optional> ) <optional>WITH ORDINALITY</optional> <optional><optional>AS</optional> <replaceable>table_alias</replaceable> <optional>(<replaceable>column_alias</replaceable> <optional>, ... </optional>)</optional></optional>
658+ ROWS FROM ( <replaceable>function_call</replaceable> <optional>, ... </optional> ) <optional>WITH ORDINALITY</optional> <optional><optional>AS</optional> <replaceable>table_alias</replaceable> <optional>(<replaceable>column_alias</replaceable> <optional>, ... </optional>)</optional></optional>
659659</synopsis>
660660
661661 <para>
@@ -674,7 +674,7 @@ TABLE( <replaceable>function_call</replaceable> <optional>, ... </optional> ) <o
674674 any number of array parameters, and it returns a corresponding number of
675675 columns, as if <literal>UNNEST</literal>
676676 (<xref linkend="functions-array">) had been called on each parameter
677- separately and combined using the <literal>TABLE </literal> construct.
677+ separately and combined using the <literal>ROWS FROM </literal> construct.
678678 </para>
679679
680680<synopsis>
@@ -683,7 +683,7 @@ UNNEST( <replaceable>array_expression</replaceable> <optional>, ... </optional>
683683
684684 <para>
685685 If no <replaceable>table_alias</replaceable> is specified, the function
686- name is used as the table name; in the case of a <literal>TABLE ()</>
686+ name is used as the table name; in the case of a <literal>ROWS FROM ()</>
687687 construct, the first function's name is used.
688688 </para>
689689
@@ -731,20 +731,20 @@ SELECT * FROM vw_getfoo;
731731<synopsis>
732732<replaceable>function_call</replaceable> <optional>AS</optional> <replaceable>alias</replaceable> (<replaceable>column_definition</replaceable> <optional>, ... </optional>)
733733<replaceable>function_call</replaceable> AS <optional><replaceable>alias</replaceable></optional> (<replaceable>column_definition</replaceable> <optional>, ... </optional>)
734- TABLE ( ... <replaceable>function_call</replaceable> AS (<replaceable>column_definition</replaceable> <optional>, ... </optional>) <optional>, ... </optional> )
734+ ROWS FROM ( ... <replaceable>function_call</replaceable> AS (<replaceable>column_definition</replaceable> <optional>, ... </optional>) <optional>, ... </optional> )
735735</synopsis>
736736
737737 <para>
738- When not using the <literal>TABLE ()</> syntax,
738+ When not using the <literal>ROWS FROM ()</> syntax,
739739 the <replaceable>column_definition</replaceable> list replaces the column
740740 alias list that could otherwise be attached to the <literal>FROM</>
741741 item; the names in the column definitions serve as column aliases.
742- When using the <literal>TABLE ()</> syntax,
742+ When using the <literal>ROWS FROM ()</> syntax,
743743 a <replaceable>column_definition</replaceable> list can be attached to
744744 each member function separately; or if there is only one member function
745745 and no <literal>WITH ORDINALITY</> clause,
746746 a <replaceable>column_definition</replaceable> list can be written in
747- place of a column alias list following <literal>TABLE ()</>.
747+ place of a column alias list following <literal>ROWS FROM ()</>.
748748 </para>
749749
750750 <para>
0 commit comments