From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Doc: fix misleading syntax synopses for targetlists. |
Date: | 2024-07-25 23:52:23 |
Message-ID: | E1sX8Fz-001Dn1-3U@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)aol(dot)com(dot)
Discussion: https://postgr.es/m/172193970148.915373.2403176471224676074@wrigleys.postgresql.org
Branch
------
REL_14_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/33668fbefcc3547cb3641738c449801b07b1ac30
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Langote | 2024-07-26 07:43:29 | pgsql: SQL/JSON: Respect OMIT QUOTES when RETURNING domains over jsonb |
Previous Message | Tom Lane | 2024-07-25 20:38:38 | pgsql: Doc: update some HTTP links to point to canonical URLs. |