Re: https://www.postgresql.org/docs/current/sql-insert.html - Mailing list pgsql-docs

From David G. Johnston
Subject Re: https://www.postgresql.org/docs/current/sql-insert.html
Date
Msg-id CAKFQuwYX0nsfChiKnDe-nLZpt_N+EkiM776GE2JzrO=PxyHJyg@mail.gmail.com
Whole thread Raw
In response to https://www.postgresql.org/docs/current/sql-insert.html  (PG Doc comments form <noreply@postgresql.org>)
List pgsql-docs
On Saturday, November 2, 2024, PG Doc comments form <noreply@postgresql.org> wrote:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/17/sql-insert.html
Description:

Is my suspicion valid?

The presence of the returning clause and subsequent usage of the CTE name in the select/insert ensures that the update executes first.

David J.

pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: (Very minor) Link towards the 'bug-submission' web form
Next
From: PG Doc comments form
Date:
Subject: Serializable Transaction Anomoly