Re: Possible G2-item at SERIALIZABLE

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Possible G2-item at SERIALIZABLE
Date: 2026-08-19 17:24:04
Message-ID: CAN4CZFNQbDWt=VVRei+Tps4Ac4Uz5jxC7fiKCQMsrq9z1_pBDg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> Let's work towards fixes. I agree with your idea about introducing helpers
> and tracking all cases where we need to DooM. Would you like to propose a
> next patch version where you fix all know cases?

Sorry for the late response, I thought I already shared this patch and
now when I looked at this thread I realized that I didn't.

I attached a reworked patch that introduces 2 helper macros (functions
would be more complex with va args), and converts existing uses to
using them, dooming some scenarios, and extending the test coverage.

Attachment Content-Type Size
v2-0001-Doom-the-serializable-transaction-before-raising-a-s.patch application/octet-stream 20.2 KB

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Fujii Masao 2026-08-19 17:57:53 Re: BUG #19598: pg_waldump: -s/-e accept out-of-range WAL locations and silently use the low 32 bits
Previous Message Srinath Reddy Sadipiralla 2026-08-19 16:16:55 Re: repack with verbose output: not showing the number of removable row versions when using USING INDEX or CONCURRENTLY option