mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Allow the element allocator for a simplehash to be specified.
This is infrastructure for a pending patch to allow parallel bitmap heap scans. Dilip Kumar, reviewed (in earlier versions) by Andres Freund and (more recently) by me. Some further renaming by me, also.
This commit is contained in:
@ -330,7 +330,8 @@ BuildTupleHashTable(int numCols, AttrNumber *keyColIdx,
|
||||
else
|
||||
hashtable->hash_iv = 0;
|
||||
|
||||
hashtable->hashtab = tuplehash_create(tablecxt, nbuckets);
|
||||
hashtable->hashtab =
|
||||
tuplehash_create(tablecxt, nbuckets, NULL, NULL, NULL);
|
||||
hashtable->hashtab->private_data = hashtable;
|
||||
|
||||
return hashtable;
|
||||
|
Reference in New Issue
Block a user