Re: Use BumpContext contexts for TupleHashTables' tablecxt

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Subject: Re: Use BumpContext contexts for TupleHashTables' tablecxt
Date: 2025-10-26 22:21:12
Message-ID: 2277986.1761517272@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Rowley <dgrowleyml(at)gmail(dot)com> writes:
> On Mon, 27 Oct 2025 at 11:11, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Jacobson 2025-10-26 23:24:54 Re: Optimize LISTEN/NOTIFY
Previous Message Tom Lane 2025-10-26 22:19:53 Re: Should HashSetOp go away