]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Doc: fix misleading syntax synopses for targetlists.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 25 Jul 2024 23:52:08 +0000 (19:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 25 Jul 2024 23:52:08 +0000 (19:52 -0400)
commit67ab6ed4182c46077cbcf6e126484fc5e786c6eb
tree476e52f523d6dcb936ce5a69ca4dbf74ed9e0085
parentdaca4f1419e8a47d19fab107fbe6e3bc63013983
Doc: fix misleading syntax synopses for targetlists.

In the syntax synopses for SELECT, INSERT, UPDATE, etc,
SELECT ... and RETURNING ... targetlists were missing { ... }
braces around an OR (|) operator.  That allows misinterpretation
which could lead to confusion.

David G. Johnston, per gripe from masondeanm@aol.com.

Discussion: https://postgr.es/m/172193970148.915373.2403176471224676074@wrigleys.postgresql.org
doc/src/sgml/ref/delete.sgml
doc/src/sgml/ref/insert.sgml
doc/src/sgml/ref/select.sgml
doc/src/sgml/ref/select_into.sgml
doc/src/sgml/ref/update.sgml