pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: fix misleading syntax synopses for targetlists.
Date: Thu, 25 Jul 2024 23:52:23 +0000
Message-ID: <E1sX8Fz-001Dn1-3U@gemulon.postgresql.org> (raw)

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_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(-)



view thread (7+ messages)

Message-ID: <E1sX8Fz-001Dn1-3U@gemulon.postgresql.org>
Permalink:  ../E1sX8Fz-001Dn1-3U@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sX8Fz-001Dn1-3U@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Doc: fix misleading syntax synopses for targetlists.
  In-Reply-To: <E1sX8Fz-001Dn1-3U@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox