From: | pvm(at)isnet(dot)ru |
---|---|
To: | pgsql-docs(at)postgresql(dot)org |
Subject: | expessions alowed in UPDATE RETURNING |
Date: | 2016-12-23 07:14:18 |
Message-ID: | 20161223071418.25615.49109@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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).
From | Date | Subject | |
---|---|---|---|
Next Message | steven.winfield | 2016-12-23 10:20:56 | Median missing from aggregate functions page |
Previous Message | vodevsh | 2016-12-21 15:13:29 | pg_class.reloptions for tables to mention Storage Parameters |