Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 80ada4c

Browse files
committed
Document (compositeval).* field selection syntax
1 parent 7085891 commit 80ada4c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/src/sgml/syntax.sgml

+9
Original file line numberDiff line numberDiff line change
@@ -1448,6 +1448,15 @@ $1.somecolumn
14481448
or that <structname>mytable</> is a table name not a schema name
14491449
in the second case.
14501450
</para>
1451+
1452+
<para>
1453+
In a select list (see <xref linkend="queries-select-lists">), you
1454+
can ask for all fields of a composite value by
1455+
writing <literal>.*</literal>:
1456+
<programlisting>
1457+
(compositecol).*
1458+
</programlisting>
1459+
</para>
14511460
</sect2>
14521461

14531462
<sect2>

0 commit comments

Comments
 (0)