Re: Pg18 Recursive Crash - Mailing list pgsql-hackers

From David Rowley
Subject Re: Pg18 Recursive Crash
Date
Msg-id CAApHDvqAqKccqUtdraNtWcKpFDH6Ngzdtq8hSMmCj=+32X6gHw@mail.gmail.com
Whole thread Raw
In response to Re: Pg18 Recursive Crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Pg18 Recursive Crash
List pgsql-hackers
On Wed, 18 Dec 2024 at 14:02, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> So I tried adapting my patch to not make a copy of the input slot,
> and it didn't work: I was still getting assertion failures about
> the slot not being a MinimalTupleSlot as expected.  On investigation
> it appears your patch did not fully adjust BuildTupleHashTableExt
> for variable input-slot type.  You need the attached as well.

Do you have a test case in master that triggers a problem here? Your
patch adjusts code that existed prior to d96d1d515, so I'm confused as
to why your patch is needed now when it wasn't before.

If you're only triggering an issue after patching with your setops
patch, are your changes maybe using FindTupleHashEntry() with an
eqcomp that isn't compatible with the 'slot' parameter you're passing
to that function?

David



pgsql-hackers by date:

Previous
From: wenhui qiu
Date:
Subject: Re: Add 64-bit XIDs into PostgreSQL 15
Next
From: "Kohei Harikae (Fujitsu)"
Date:
Subject: RE: Windows meson build