Re: BUG #18499: Reindexing spgist index concurrently triggers Assert("TransactionIdIsValid(state->myXid)")

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: exclusion(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18499: Reindexing spgist index concurrently triggers Assert("TransactionIdIsValid(state->myXid)")
Date: 2024-06-21 01:54:09
Message-ID: ZnTdQW2ne9m10zXf@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, Jun 16, 2024 at 07:30:46PM -0400, Tom Lane wrote:
> Right. I was thinking that CIC wouldn't reach spginsert(), rather
> spgbuild(), but it does feel a bit rickety. A separate flag would
> be better.

Why does it feel rickety for you? We already rely on this flag so it
does not seem like a huge problem to rely on it again for the sake of
this index AM.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Masahiko Sawada 2024-06-21 06:46:18 Re: Potential data loss due to race condition during logical replication slot creation
Previous Message Melanie Plageman 2024-06-21 00:33:59 Re: relfrozenxid may disagree with row XIDs after 1ccc1e05ae