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)
commitb7bc06f0cb5fb8add8ae4a79671f8a8611137531
treec5362b57bc8968dc851f074caed38839752a52ec
parent541f493dc1287a0038b8d235d61297f6fdbcb079
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