citusdata / citusdata/citus

v10.2.4 Throws warning w/ PG14

Open
#5,680 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

at CREATE EXTENSION time the below warning comes out for 10.2.4 on PG14. I don't see this on 10.2.4 for PG13 or for 10.2.3 on either PG13 or PG14.

ERROR: signature for shard_cost_function is incorrect
DETAIL: argument type of citus_shard_cost_1 should be bigint
CONTEXT: SQL statement "SELECT citus_validate_rebalance_strategy_functions(
NEW.shard_cost_function,
NEW.node_capacity_function,
NEW.shard_allowed_on_node_function)"
PL/pgSQL function citus_internal.pg_dist_rebalance_strategy_trigger_func() line 5 at PERFORM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.