[DOCS] expessions alowed in UPDATE RETURNING - Mailing list pgsql-docs

From pvm@isnet.ru
Subject [DOCS] expessions alowed in UPDATE RETURNING
Date
Msg-id 20161223071418.25615.49109@wrigleys.postgresql.org
Whole thread Raw
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/sql-update.html
Description:

https://www.postgresql.org/docs/current/static/sql-update.html

From the explanation of the "output_expression" clause and, correspondingly,
from the example, it is not clear, whether columns not mentioned nor in the
SET clause nor in the FROM clause are allowed in the RETURNING clause.

In other words, can I use a ststement like this: "UPDATE weather SET temp_lo
= temp_lo+1, temp_hi = temp_lo+15 RETURNING prcp" (look, I did not modified
prcp in this statement).

pgsql-docs by date:

Previous
From: vodevsh@gmail.com
Date:
Subject: [DOCS] pg_class.reloptions for tables to mention Storage Parameters
Next
From: steven.winfield@cantabcapital.com
Date:
Subject: [DOCS] Median missing from aggregate functions page