Re: Fix race condition in SSI when reading PredXact->SxactGlobalXmin

From: Mihail Nikalayeu <mihailnikalayeu(at)gmail(dot)com>
To: Josh Curtis <jcurtis825(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fix race condition in SSI when reading PredXact->SxactGlobalXmin
Date: 2026-03-08 19:21:00
Message-ID: CADzfLwVnTLUeW8w3M2xGjOu64ndCNtJSbkzMZNx6xQg6M7VJuw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello, Josh!

> Here's a spec test with a reproduction if run against master.
>
> I personally wouldn't merge the test into master. The logic is a bit brittle and the test scope is quite narrow

I refactored your test a little bit, now for my taste it feels committable.

Best regards,
Mikhail.

Attachment Content-Type Size
v2-0001-PATCH-v2-Add-test-to-demonstrate-bug-in-SSI.patch application/octet-stream 9.7 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2026-03-08 19:31:22 Re: tid_blockno() and tid_offset() accessor functions
Previous Message Alexandre Felipe 2026-03-08 17:17:44 Re: tid_blockno() and tid_offset() accessor functions