Thread: pgsql: Doc: fix misleading syntax synopses for targetlists.

pgsql: Doc: fix misleading syntax synopses for targetlists.

From
Tom Lane
Date:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c7301c3b6fe2feaf96d52cbf35a85ac6b95374dc

Modified Files
--------------
doc/src/sgml/ref/delete.sgml      | 2 +-
doc/src/sgml/ref/insert.sgml      | 2 +-
doc/src/sgml/ref/merge.sgml       | 2 +-
doc/src/sgml/ref/select.sgml      | 2 +-
doc/src/sgml/ref/select_into.sgml | 2 +-
doc/src/sgml/ref/update.sgml      | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)