Doc: fix misleading syntax synopses for targetlists.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b7bc06f0cb5fb8add8ae4a79671f8a8611137531
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2024-07-25T23:52:08Z
Releases: 15.8
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

Files

Documentation touched

Discussion