From: Jeff Davis Date: Tue, 7 Jan 2025 22:49:18 +0000 (-0800) Subject: Remove unused TupleHashTableData->entrysize. X-Git-Tag: REL_18_BETA1~1160 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a96faedc408b447acd1570d2f51300bcec34959;p=thirdparty%2Fpostgresql.git Remove unused TupleHashTableData->entrysize. Discussion: https://postgr.es/m/7530bd8783b1a78d53a3c70383e38d8da0a5ffe5.camel%40j-davis.com --- diff --git a/src/backend/executor/execGrouping.c b/src/backend/executor/execGrouping.c index 562dde46bd5..33b124fbb0a 100644 --- a/src/backend/executor/execGrouping.c +++ b/src/backend/executor/execGrouping.c @@ -196,7 +196,6 @@ BuildTupleHashTable(PlanState *parent, hashtable->tab_collations = collations; hashtable->tablecxt = tablecxt; hashtable->tempcxt = tempcxt; - hashtable->entrysize = entrysize; hashtable->tableslot = NULL; /* will be made on first lookup */ hashtable->inputslot = NULL; hashtable->in_hash_expr = NULL; diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index 29127416076..b3f7aa299f5 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -835,7 +835,6 @@ typedef struct TupleHashTableData Oid *tab_collations; /* collations for hash and comparison */ MemoryContext tablecxt; /* memory context containing table */ MemoryContext tempcxt; /* context for function evaluations */ - Size entrysize; /* actual size to make each hash entry */ TupleTableSlot *tableslot; /* slot for referencing table entries */ /* The following fields are set transiently for each table search: */ TupleTableSlot *inputslot; /* current input tuple's slot */