Doc: fix misleading syntax synopses for targetlists.

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

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