pgsql: Doc: fix misleading syntax synopses for targetlists. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Doc: fix misleading syntax synopses for targetlists.
Date
Msg-id E1sX8Fz-001Dmt-06@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: update some HTTP links to point to canonical URLs.
Next
From: Amit Langote
Date:
Subject: pgsql: SQL/JSON: Improve error-handling of JsonBehavior expressions