Re: Concurrent INSERT statements with RETURNING clause resetting SERIAL sequence

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Concurrent INSERT statements with RETURNING clause resetting SERIAL sequence
Date: 2022-07-20 09:33:25
Message-ID: YtfL5QFRNjFBUegM@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Am Wed, Jul 20, 2022 at 09:15:29AM +0000 schrieb Sebastien Flaesch:

> Thomas, we already have a similar solution.
> The idea is to use the native PostgreSQL SERIAL type.

Which does not guarantuee gaplessness.

Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Karthik K L V 2022-07-20 09:48:38 Re: operator does not exist: text = bytea
Previous Message Karthik K L V 2022-07-20 09:32:13 operator does not exist: text = bytea