Re: Use BumpContext contexts for TupleHashTables' tablecxt

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org, Jeff Janes <jeff.janes@gmail.com>
Date: 2025-10-30T15:22:08Z
Lists: pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> I'm fine with the patch, assuming it now includes the new
> BuildTupleHashTable() comment and adjusted
> ExecEndRecursiveUnion/ExecEndSetOp comments.

OK, pushed after a tiny bit more comment-smithing.  Thanks
for reviewing!

			regards, tom lane



Commits

  1. Use BumpContext contexts in TupleHashTables, and do some code cleanup.

  2. HashAgg: use Bump allocator for hash TupleHashTable entries.