Re: Define and document a guaranteed ordering for RETURNING?

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Define and document a guaranteed ordering for RETURNING?
Date: 2015-01-15 06:47:15
Message-ID: CAMsr+YGDX8qTKPWj23hBAupCOo3C4zMccvsi6aHVViakcP-ndA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Apparently I'm semi-blind - the docs also note that:

> 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 by the
command.

... so perhaps it's enough to just explicitly mention that ordering is
preserved.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-01-15 07:00:55 Re: PATCH: Reducing lock strength of trigger and foreign key DDL
Previous Message Kyotaro HORIGUCHI 2015-01-15 06:05:08 Re: Overhauling our interrupt handling