[DOCS] expessions alowed in UPDATE RETURNING

Поиск
Список
Период
Сортировка
От pvm@isnet.ru
Тема [DOCS] expessions alowed in UPDATE RETURNING
Дата
Msg-id 20161223071418.25615.49109@wrigleys.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: vodevsh@gmail.com
Дата:
Сообщение: [DOCS] pg_class.reloptions for tables to mention Storage Parameters
Следующее
От: steven.winfield@cantabcapital.com
Дата:
Сообщение: [DOCS] Median missing from aggregate functions page