public inbox for [email protected]
help / color / mirror / Atom feedFrom: Rumpi Gravenstein <[email protected]>
To: Adrian Klaver <[email protected]>
Cc: Colin 't Hart <[email protected]>
Cc: PostgreSQL General <[email protected]>
Subject: Re: Two sequences associated with one identity column
Date: Thu, 30 Oct 2025 11:22:31 -0400
Message-ID: <CAEpg1wBP7U6CiaJFz1LeH3A01jRgg6iZsyrmFk_jEHKfWgesdg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAMon-aTbZC5k2pLpijk5x+h__LV08DzpoJtHBgZGkOKJNJ91pw@mail.gmail.com>
<[email protected]>
<CAMon-aTMgbwC9j-wY8iX5kZ4=KXzCXc-Wpwx3viid8hQ_bJkoQ@mail.gmail.com>
<[email protected]>
<CAMon-aQ0Zs-Otkp1=zk3WYt7Am-_oQHKEmD_rZ1CNGBAgM_jzw@mail.gmail.com>
<[email protected]>
<CAMon-aQNPQ86-swjmpiryy3s_yKaWsZbzysrbn7e1xPc3JM3fg@mail.gmail.com>
<[email protected]>
I've seen two indexes created on the same table/column when you create a
primary key as part of table create ddl and then also run a separate create
index statement for the same table/column.
On Thu, Oct 30, 2025 at 10:42 AM Adrian Klaver <[email protected]>
wrote:
> On 10/30/25 01:55, Colin 't Hart wrote:
> > relname | relnamespace | relpersistence
> > --------------------------+--------------+----------------o
> > <sequence1> | 524799410 | p
> > <sequence2> | 524799410 | p
> > (2 rows)
> >
>
> Well so much for that guess. I was exploring the idea that the sequence
> may have been unlogged at some point and you had both a logged(p) and
> unlogged(u) instance of each.
>
>
> --
> Adrian Klaver
> [email protected]
>
>
>
--
Rumpi Gravenstein
view thread (2+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: Two sequences associated with one identity column
In-Reply-To: <CAEpg1wBP7U6CiaJFz1LeH3A01jRgg6iZsyrmFk_jEHKfWgesdg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox