Re: Insert Documentation - Returning Clause and Order - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Re: Insert Documentation - Returning Clause and Order
Date
Msg-id CAExHW5u-Xj_pPzdbwuJAReXbxobTB6iTYZMX+HBZmBWexBjk4A@mail.gmail.com
Whole thread Raw
In response to Insert Documentation - Returning Clause and Order  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Insert Documentation - Returning Clause and Order
List pgsql-hackers
On Wed, Dec 9, 2020 at 9:10 PM David G. Johnston
<david.g.johnston@gmail.com> wrote:
>
> Hey,
>
> Would it be accurate to add the following sentence to the INSERT documentation under "Outputs"?
>
> "...inserted or updated by the command."  For a multiple-values insertion, the order of output rows will match the
orderthat rows are presented in the values or query clause.
 

Postgres's current implementation may be doing so, but I don't think
that can be guaranteed in possible implementations. I don't think
restricting choice of implementation to guarantee that is a good idea
either.

-- 
Best Wishes,
Ashutosh Bapat



pgsql-hackers by date:

Previous
From: Konstantin Knizhnik
Date:
Subject: Re: On login trigger: take three
Next
From: Daniel Gustafsson
Date:
Subject: OpenSSL connection setup debug callback issue