From: | Jeff Davis <jdavis(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Introduce TupleHashTableHash() and LookupTupleHashEntryHash(). |
Date: | 2020-02-07 04:44:35 |
Message-ID: | E1izvVL-0008Bd-N2@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Introduce TupleHashTableHash() and LookupTupleHashEntryHash().
Expose two new entry points: one for only calculating the hash value
of a tuple, and another for looking up a hash entry when the hash
value is already known. This will be useful for disk-based Hash
Aggregation to avoid recomputing the hash value for the same tuple
after saving and restoring it from disk.
Discussion: https://postgr.es/m/37091115219dd522fd9ed67333ee8ed1b7e09443.camel%40j-davis.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4eaea3db150af56aa2e40efe91997fd25f3b6d73
Modified Files
--------------
src/backend/executor/execGrouping.c | 108 ++++++++++++++++++++++++++----------
src/include/executor/executor.h | 5 ++
2 files changed, 83 insertions(+), 30 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2020-02-07 06:15:40 | pgsql: Bump catalog version for the addition of leader_pid in pg_stat_a |
Previous Message | Andres Freund | 2020-02-07 04:05:27 | pgsql: expression eval, jit: Minor code cleanups. |