Doc: fix misleading syntax synopses for targetlists.

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

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