Re: Insert Documentation - Returning Clause and Order

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Insert Documentation - Returning Clause and Order
Дата
Msg-id CAKFQuwbVUBehwAejNrBMwiPDJ61p3Rnjgr42pXkuGrYJ8JRz3A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Insert Documentation - Returning Clause and Order  (James Coleman <jtc331@gmail.com>)
Ответы Re: Insert Documentation - Returning Clause and Order  (James Coleman <jtc331@gmail.com>)
Re: Insert Documentation - Returning Clause and Order  (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>)
Список pgsql-hackers
On Sat, Dec 12, 2020 at 7:02 AM James Coleman <jtc331@gmail.com> wrote:

Certainly almost every ORM, and maybe even other forms of application
code, need to be able to associate the serial column value returned
with what it inserted.

Yet most ORM would perform single inserts at a time, not in bulk, making such a feature irrelevant to them.

I don't think having such a feature is all that important personally, but the question comes every so often and it would be nice to be able to point at the documentation for a definitive answer - not just one inferred from a lack of documentation - especially since the observed behavior is that order is preserved today.

David J.

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

Предыдущее
От: James Coleman
Дата:
Сообщение: Re: Insert Documentation - Returning Clause and Order
Следующее
От: Andrey Borodin
Дата:
Сообщение: Re: pglz compression performance, take two