pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Introduce TupleHashTableHash() and LookupTupleHashEntryHash().
Date: Fri, 07 Feb 2020 04:44:35 +0000
Message-ID: <E1izvVL-0008Bd-N2@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1izvVL-0008Bd-N2@gemulon.postgresql.org>
Permalink:  ../E1izvVL-0008Bd-N2@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1izvVL-0008Bd-N2@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org
  Subject: Re: pgsql: Introduce TupleHashTableHash() and LookupTupleHashEntryHash().
  In-Reply-To: <E1izvVL-0008Bd-N2@gemulon.postgresql.org>
  References: <E1izvVL-0008Bd-N2@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox