pgsql: Get rid of old version of BuildTupleHashTable().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Get rid of old version of BuildTupleHashTable().
Date: 2024-12-19 23:07:29
Message-ID: E1tOPc8-000QLy-VI@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Get rid of old version of BuildTupleHashTable().

It was reasonable to preserve the old API of BuildTupleHashTable()
in the back branches, but in HEAD we should actively discourage use
of that version. There are no remaining callers in core, so just
get rid of it. Then rename BuildTupleHashTableExt() back to
BuildTupleHashTable().

While at it, fix up the miserably-poorly-maintained header comment
for BuildTupleHashTable[Ext]. It looks like more than one patch in
this area has had the opinion that updating comments is beneath them.

Discussion: https://postgr.es/m/538343.1734646986@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e0a2721f7c169b50617fed797d7336cd8f10bf77

Modified Files
--------------
src/backend/executor/execGrouping.c | 93 +++++++++++--------------------
src/backend/executor/nodeAgg.c | 28 +++++-----
src/backend/executor/nodeRecursiveunion.c | 30 +++++-----
src/backend/executor/nodeSetOp.c | 30 +++++-----
src/backend/executor/nodeSubplan.c | 58 +++++++++----------
src/include/executor/executor.h | 22 +++-----
6 files changed, 115 insertions(+), 146 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Melanie Plageman 2024-12-19 23:53:15 pgsql: Remove final mention of FREEZE_PAGE from comments
Previous Message Tom Lane 2024-12-19 22:07:25 pgsql: Use ExecGetCommonSlotOps infrastructure in more places.