From 11de6c903da99a4b2220acfa776fc26c7f384ccc Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Mon, 10 Feb 2020 10:20:10 -0800 Subject: 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. --- src/include/executor/executor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/executor/executor.h') 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); -- cgit v1.2.3