Remove unused TupleHashTableData->entrysize.
authorJeff Davis <[email protected]>
Tue, 7 Jan 2025 22:49:18 +0000 (14:49 -0800)
committerJeff Davis <[email protected]>
Tue, 7 Jan 2025 22:49:18 +0000 (14:49 -0800)
Discussion: https://postgr.es/m/7530bd8783b1a78d53a3c70383e38d8da0a5ffe5.camel%40j-davis.com

src/backend/executor/execGrouping.c
src/include/nodes/execnodes.h

index 562dde46bd5b26140f9a329ba1c8ef1b0cbb2ccc..33b124fbb0a5014c451a83ef27325775d18c0b9d 100644 (file)
@@ -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;
index 2912741607664144111cd0298de7f9b8450abab8..b3f7aa299f57ab6f238bbebb52b1d8b416685a65 100644 (file)
@@ -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 */