mirror of https://github.com/citusdata/citus.git
Puts usage of HASH_STRINGS in PG14 version check
parent
dd7d787365
commit
a98f336aea
|
@ -138,9 +138,12 @@ ListToHashSet(List *itemList, Size keySize, bool isStringList)
|
|||
if (!isStringList)
|
||||
{
|
||||
flags |= HASH_BLOBS;
|
||||
}else {
|
||||
}
|
||||
#if PG_VERSION_NUM >= PG_VERSION_14
|
||||
else {
|
||||
flags |= HASH_STRINGS;
|
||||
}
|
||||
#endif
|
||||
|
||||
HTAB *itemSet = hash_create("ListToHashSet", capacity, &info, flags);
|
||||
|
||||
|
|
Loading…
Reference in New Issue