mirror of
https://github.com/postgres/postgres.git
synced 2026-02-17 09:42:54 -05:00
Document (compositeval).* field selection syntax
This commit is contained in:
parent
7085891784
commit
80ada4c0db
1 changed files with 9 additions and 0 deletions
|
|
@ -1448,6 +1448,15 @@ $1.somecolumn
|
|||
or that <structname>mytable</> is a table name not a schema name
|
||||
in the second case.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
In a select list (see <xref linkend="queries-select-lists">), you
|
||||
can ask for all fields of a composite value by
|
||||
writing <literal>.*</literal>:
|
||||
<programlisting>
|
||||
(compositecol).*
|
||||
</programlisting>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
|
|
|||
Loading…
Reference in a new issue