Re: Guidance on INSERT RETURNING order

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Thorsten Glaser <tg(at)evolvis(dot)org>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Guidance on INSERT RETURNING order
Date: 2023-04-13 00:59:55
Message-ID: 27aa3259-d003-6729-7d33-e2e12745f93e@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/12/23 17:58, Thorsten Glaser wrote:
> On Wed, 12 Apr 2023, Mike Bayer wrote:
>
>> ascending values for "mytable_id_seq" will correspond to the ascending
>> values for "num".
>
> But, again, what if it’s uuid or something instead of a sequence?

This for an ORM that will be using a sequence.
>
> bye,
> //mirabilos

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Bayer 2023-04-13 01:27:06 Re: Guidance on INSERT RETURNING order
Previous Message Thorsten Glaser 2023-04-13 00:58:38 Re: Guidance on INSERT RETURNING order