From 6ce35d7a9ab84a79c122af991052e492da96e9f2 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com> Date: Tue, 7 Jan 2025 16:08:02 +0100 Subject: [PATCH] Use the Postgres uint64 instead of the C uint64_t (#7573) They are nominally different on some platforms (e.g. unsigned long vs unsigned long long), so we shouldn't mix them. --- tsl/src/nodes/vector_agg/grouping_policy_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsl/src/nodes/vector_agg/grouping_policy_hash.c b/tsl/src/nodes/vector_agg/grouping_policy_hash.c index 05a8e13d474..77acbe81ec4 100644 --- a/tsl/src/nodes/vector_agg/grouping_policy_hash.c +++ b/tsl/src/nodes/vector_agg/grouping_policy_hash.c @@ -330,7 +330,7 @@ gp_hash_add_batch(GroupingPolicy *gp, DecompressBatchState *batch_state) /* * Add the batch rows to aggregate function states. */ - const uint64_t *restrict filter = batch_state->vector_qual_result; + const uint64 *restrict filter = batch_state->vector_qual_result; add_one_range(policy, batch_state, 0, n); policy->stat_input_total_rows += batch_state->total_batch_rows;