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)
commitc7301c3b6fe2feaf96d52cbf35a85ac6b95374dc
tree321e25d092cbe751d16b4110d81cf159682a3559
parente458dc1ac8388b33e3ce6b971d8de2721dd73870
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/merge.sgml
doc/src/sgml/ref/select.sgml
doc/src/sgml/ref/select_into.sgml
doc/src/sgml/ref/update.sgml