mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user