summaryrefslogtreecommitdiffstats
path: root/yql/essentials/parser/pg_wrapper/postgresql/src/backend/lib
diff options
context:
space:
mode:
authorvvvv <[email protected]>2025-10-24 14:59:50 +0300
committervvvv <[email protected]>2025-10-24 15:29:24 +0300
commit5b0d18921f2a509d8363c40a5ca208dfed026287 (patch)
treed1369c696d3a9e9a65b68d9208e198269a48cfbc /yql/essentials/parser/pg_wrapper/postgresql/src/backend/lib
parente7fbdb6e81ae4a296e710b133de7a2a04b31bbc4 (diff)
YQL-20567 upgrade PG up to 16.10 & fix instructions
init commit_hash:81aba13295273281d19d2d332a48ff1c44977447
Diffstat (limited to 'yql/essentials/parser/pg_wrapper/postgresql/src/backend/lib')
-rw-r--r--yql/essentials/parser/pg_wrapper/postgresql/src/backend/lib/dshash.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/yql/essentials/parser/pg_wrapper/postgresql/src/backend/lib/dshash.c b/yql/essentials/parser/pg_wrapper/postgresql/src/backend/lib/dshash.c
index 14ed2d87bba..9d551f00d97 100644
--- a/yql/essentials/parser/pg_wrapper/postgresql/src/backend/lib/dshash.c
+++ b/yql/essentials/parser/pg_wrapper/postgresql/src/backend/lib/dshash.c
@@ -844,8 +844,10 @@ resize(dshash_table *hash_table, size_t new_size_log2)
Assert(new_size_log2 == hash_table->control->size_log2 + 1);
/* Allocate the space for the new table. */
- new_buckets_shared = dsa_allocate0(hash_table->area,
- sizeof(dsa_pointer) * new_size);
+ new_buckets_shared =
+ dsa_allocate_extended(hash_table->area,
+ sizeof(dsa_pointer) * new_size,
+ DSA_ALLOC_HUGE | DSA_ALLOC_ZERO);
new_buckets = dsa_get_address(hash_table->area, new_buckets_shared);
/*