Обсуждение: pgsql: Doc: fix misleading syntax synopses for targetlists.

Поиск
Список
Период
Сортировка

pgsql: Doc: fix misleading syntax synopses for targetlists.

От
Tom Lane
Дата:
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_13_STABLE

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

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