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-001Dmz-37@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
------
REL_15_STABLE

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

Modified Files
--------------
doc/src/sgml/ref/delete.sgml      | 2 +-
doc/src/sgml/ref/insert.sgml      | 2 +-
doc/src/sgml/ref/select.sgml      | 2 +-
doc/src/sgml/ref/select_into.sgml | 2 +-
doc/src/sgml/ref/update.sgml      | 2 +-
5 files changed, 5 insertions(+), 5 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