Re: BUG #19607: Bug 18: `pg_surgery` infinite loop in `heap_force_common`

From: Andrey Rachitskiy <pl0h0yp1(at)gmail(dot)com>
To: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Cc: 1217816127(at)qq(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19607: Bug 18: `pg_surgery` infinite loop in `heap_force_common`
Date: 2026-08-03 14:08:40
Message-ID: CAB8bMisnzAbd_xD4VK5fgjEwNL4X0ssZSSqsG1VDEcRMQVugJw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andrey, thanks for the review.

v2 adds a small regress case based on the report (65536 identical
TIDs). Without the fix that call never returns.

пн, 3 авг. 2026 г. в 18:44, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>:

>
>
> > On 3 Aug 2026, at 18:35, Andrey Rachitskiy <pl0h0yp1(at)gmail(dot)com> wrote:
> >
> > Patch attached.
>
> While fix looks correct to me, I'd suggest adding a small regression test.
>
>
> Best regards, Andrey Borodin.
>

--
Regards,
Rachitskiy Andrey

Attachment Content-Type Size
v2-0001-pg_surgery-Fix-infinite-loop-on-large-tid-arrays-BUG-19607.patch text/x-patch 3.6 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrey Rachitskiy 2026-08-03 15:26:07 Re: BUG #19600: pgcrypto crypt() can return text with invalid encoding
Previous Message Andrey Borodin 2026-08-03 13:44:16 Re: BUG #19607: Bug 18: `pg_surgery` infinite loop in `heap_force_common`