Skip to content

Commit

Permalink
Use the Postgres uint64 instead of the C uint64_t
Browse files Browse the repository at this point in the history
They are nominally different on some platforms (e.g. unsigned long vs
unsigned long long), so we shouldn't mix them.
  • Loading branch information
akuzm committed Jan 7, 2025
1 parent 8ec3365 commit 6d0be0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsl/src/nodes/vector_agg/grouping_policy_hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6d0be0a

Please sign in to comment.