Re: PG19: two RI fast-path issues found while testing the batching revert

From: Nikolay Samokhvalov <nik(at)postgres(dot)ai>
To: Amit Langote <amitlangote09(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andrey Borodin <amborodin(at)acm(dot)org>, Kirk Wolak <wolakk(at)gmail(dot)com>
Subject: Re: PG19: two RI fast-path issues found while testing the batching revert
Date: 2026-09-11 00:33:34
Message-ID: CAM527d87ebV6ES2m_HTmWS_8j3TjuEYokic1=UOkWHUB9OY2zg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Sep 10, 2026 at 4:41 PM Amit Langote wrote:
> Looking at these now. The first issue is clearly a fast-path code
> problem. The 2nd one interacts with the existing non-fast-path code so
> I'll need to check if the bug predates fast-path.

Thanks Amit. In case helpful, here are two proposed fixes, with
regression tests.

Built and tested with assertions; regression and isolation suites pass.
An independent agent reviewed and tested both, catching a cleanup issue
that's now fixed. I didn't have time to fully study the patches manually,
but my harness tested them thoroughly.

Nik

Attachment Content-Type Size
0001-ri-column-select.patch application/octet-stream 7.3 KB
0002-ri-cast-cache.patch application/octet-stream 19.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2026-09-11 00:50:43 Re: [PATCH] Explain what the default output_plugin_libraries do
Previous Message Bharath Rupireddy 2026-09-11 00:18:38 Re: fixes for a few GUC descriptions