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)
commitc0ba7d609de1c0f5bd64d1a3561c6e1e64ab0d1d
tree4cce71bf4671b3578b6c2c3462b0a55002e98d96
parent4afcd1567d8d8bad2e07732b533e3157e37f8643
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