RETURNING order guarantees documentation

Поиск
Список
Период
Сортировка
От Dan Wainwright
Тема RETURNING order guarantees documentation
Дата
Msg-id CACTd0ws66eB=Nepy4nx3sr+fCdffVVgqd7KhYAxs+PR6HMo_=w@mail.gmail.com
обсуждение исходный текст
Ответы Re: RETURNING order guarantees documentation  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-docs
Hi, I was looking for documentation on the ordering guarantees of RETURNING statements relative to the input data and found that there is nothing explicit.

The insert docs state 
> If the INSERT command contains a RETURNING clause, the result will be similar to that of a SELECT statement containing the columns and values defined in the RETURNING list, computed over the row(s) inserted or updated by the command.

'Similar to' doesn't provide anything concrete to the reader. There was a thread on [Hackers] back in 2015 proposing some docs to clearly explain that ordering is preserved and I am keen to write the documentation if it's agreed to be worth doing.

Thanks, Dan

В списке pgsql-docs по дате отправления:

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Missing examples for hash partitioning
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: RETURNING order guarantees documentation