Doc: fix misleading syntax synopses for targetlists.

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

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