Re: Hash index bucket split bug

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: vignesh C <vignesh21(at)gmail(dot)com>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: Hash index bucket split bug
Date: 2026-10-10 15:27:09
Message-ID: CAH2-Wz=nK1Rih58f+rOwgMvd6ejX-=-v9B=6OdsjHJPh8i55Cg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 10, 2026 at 8:02 AM vignesh C <vignesh21(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2026-10-10 15:37:36 Re: [PG19] Wrong results from NOT NULL-based expression simplification
Previous Message Haibo Yan 2026-10-10 15:27:05 Re: [PG19] Wrong results from NOT NULL-based expression simplification