Re: Use BumpContext contexts for TupleHashTables' tablecxt - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Use BumpContext contexts for TupleHashTables' tablecxt
Date
Msg-id 2277986.1761517272@sss.pgh.pa.us
Whole thread Raw
In response to Re: Use BumpContext contexts for TupleHashTables' tablecxt  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> On Mon, 27 Oct 2025 at 11:11, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> ... We could keep it in that same "tablectx"

> I don't think you could do that and have your patch as SH_GROW() needs
> to pfree the old bucket array after rehashing, which bump won't like.

Ah, good point.  Nevermind that idea then ...

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Should HashSetOp go away
Next
From: "Joel Jacobson"
Date:
Subject: Re: Optimize LISTEN/NOTIFY