diff options
author | Jeff Davis <jdavis@postgresql.org> | 2020-02-10 10:20:10 -0800 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2020-02-10 10:20:10 -0800 |
commit | 11de6c903da99a4b2220acfa776fc26c7f384ccc (patch) | |
tree | f0b049c693c1111570d6cd158e21f83b2e308611 /src/include/executor/executor.h | |
parent | 8fa8e011563744f61d29024ab187a189124a6551 (diff) | |
download | postgresql-11de6c903da99a4b2220acfa776fc26c7f384ccc.tar.gz postgresql-11de6c903da99a4b2220acfa776fc26c7f384ccc.zip |
Change signature of TupleHashTableHash().
Commit 4eaea3db introduced TupleHashTableHash(), but the signature
didn't match the other exposed functions. Separate it into internal
and external versions. The external version hides the details behind
an API more consistent with the other external functions, and the
internal version is still suitable for simplehash.
Diffstat (limited to 'src/include/executor/executor.h')
-rw-r--r-- | src/include/executor/executor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index e49cb110461..81fdfa4add3 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -140,8 +140,8 @@ extern TupleHashTable BuildTupleHashTableExt(PlanState *parent, extern TupleHashEntry LookupTupleHashEntry(TupleHashTable hashtable, TupleTableSlot *slot, bool *isnew); -extern uint32 TupleHashTableHash(struct tuplehash_hash *tb, - const MinimalTuple tuple); +extern uint32 TupleHashTableHash(TupleHashTable hashtable, + TupleTableSlot *slot); extern TupleHashEntry LookupTupleHashEntryHash(TupleHashTable hashtable, TupleTableSlot *slot, bool *isnew, uint32 hash); |