Re: Hash index bucket split bug - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Hash index bucket split bug
Date
Msg-id CAH2-Wz=nK1Rih58f+rOwgMvd6ejX-=-v9B=6OdsjHJPh8i55Cg@mail.gmail.com
Whole thread
In response to Hash index bucket split bug  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-hackers
On Mon, Aug 10, 2026 at 8:02 AM vignesh C <vignesh21@gmail.com> wrote:
> > Thanks, the fixup-patch looks good to me. However, I was thinking
> > whether it is a good idea to refactor the common code into separate
> > functions like attached? This is atop your patches.

I pushed a version of the bug fix based on this.

> One suggestion: how about adding an assertion at the end of the scan
> so that we catch this condition immediately?

I agree. The pushed patch implemented something similar.

Thanks
--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Haibo Yan
Date:
Subject: Re: [PG19] Wrong results from NOT NULL-based expression simplification
Next
From: Fujii Masao
Date:
Subject: Re: [PG19] Wrong results from NOT NULL-based expression simplification