Doc: fix misleading syntax synopses for targetlists.
authorTom Lane <[email protected]>
Thu, 25 Jul 2024 23:52:08 +0000 (19:52 -0400)
committerTom Lane <[email protected]>
Thu, 25 Jul 2024 23:52:08 +0000 (19:52 -0400)
commit551ea63aaa2d6f63f167f273926ca6d2f8c6f9ac
tree0e86e9aca349ccc1ed4e382824f7a008be8b21fb
parente29203a60b1c7e0d667e3a912d04c4a715bda6e9
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 [email protected].

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