pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thorsten Glaser <tg@evolvis.org>
To: pgsql-general@lists.postgresql.org
Subject: Re: Guidance on INSERT RETURNING order
Date: Tue, 11 Apr 2023 23:39:04 +0200 (CEST)
Message-ID: <8a57a79b-6e73-99b4-8f3a-859fccb5eb3b@evolvis.org> (raw)
In-Reply-To: <CAN19dyfhqBhsiDDUyQCAyjm_OC=SMo+wGrE7W84RiJOvAPCr7g@mail.gmail.com>
References: <CAN19dycS0oUorLOGgjxMX8NZq-hOA1RJrzwC4L3FxpMf4BQbBQ@mail.gmail.com>
	<95fbd8c8-2f7a-38a1-4a41-b2ac3763d89c@aklaver.com>
	<CAN19dyed0o5eCUYSEq30q39SpFmeZ7WSEHBfR042YYTVoipHcg@mail.gmail.com>
	<a29ad53f-90ed-2e50-a28a-f3f15f3ddddc@evolvis.org>
	<CAN19dydW+f2iQ4b0XrMWeoJBNMQMosWjbLc3uthZ=aG+EsuyCA@mail.gmail.com>
	<3b1117cc-fe46-1ca0-d0f-92304c6fc79@evolvis.org>
	<CAN19dyfhqBhsiDDUyQCAyjm_OC=SMo+wGrE7W84RiJOvAPCr7g@mail.gmail.com>

On Tue, 11 Apr 2023, Federico wrote:

>I was under the impression that when using INSERT SELECT ORDER BY the sequence
>ids were generated using the select order.

But someone said that’s not guaranteed, especially when INSERT will
be parallelised later.

bye,
//mirabilos
-- 
15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)





view thread (56+ messages)  latest in thread

Message-ID: <8a57a79b-6e73-99b4-8f3a-859fccb5eb3b@evolvis.org>
Permalink:  ../8a57a79b-6e73-99b4-8f3a-859fccb5eb3b@evolvis.org/
Also on:    postgresql.org/message-id/8a57a79b-6e73-99b4-8f3a-859fccb5eb3b@evolvis.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tg@evolvis.org
  Subject: Re: Guidance on INSERT RETURNING order
  In-Reply-To: <8a57a79b-6e73-99b4-8f3a-859fccb5eb3b@evolvis.org>
  References: <CAN19dycS0oUorLOGgjxMX8NZq-hOA1RJrzwC4L3FxpMf4BQbBQ@mail.gmail.com> <95fbd8c8-2f7a-38a1-4a41-b2ac3763d89c@aklaver.com> <CAN19dyed0o5eCUYSEq30q39SpFmeZ7WSEHBfR042YYTVoipHcg@mail.gmail.com> <a29ad53f-90ed-2e50-a28a-f3f15f3ddddc@evolvis.org> <CAN19dydW+f2iQ4b0XrMWeoJBNMQMosWjbLc3uthZ=aG+EsuyCA@mail.gmail.com> <3b1117cc-fe46-1ca0-d0f-92304c6fc79@evolvis.org> <CAN19dyfhqBhsiDDUyQCAyjm_OC=SMo+wGrE7W84RiJOvAPCr7g@mail.gmail.com> <8a57a79b-6e73-99b4-8f3a-859fccb5eb3b@evolvis.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox