]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Doc: fix misleading syntax synopses for targetlists.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 25 Jul 2024 23:52:08 +0000 (19:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 25 Jul 2024 23:52:08 +0000 (19:52 -0400)
commit33668fbefcc3547cb3641738c449801b07b1ac30
treec6374a4729df80a885f5a99352f27066cd05ff23
parent1c23961d223401100cec5c9610789637ef35022c
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
doc/src/sgml/ref/delete.sgml
doc/src/sgml/ref/insert.sgml
doc/src/sgml/ref/select.sgml
doc/src/sgml/ref/select_into.sgml
doc/src/sgml/ref/update.sgml