Doc: fix misleading syntax synopses for targetlists.

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

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