Check citus version in citus_promote_clone_and_rebalance (#8169)

pull/8158/head
Onur Tirtir 2025-08-29 11:19:50 +03:00 committed by GitHub
parent 0fd95d71e4
commit 8ece8acac7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ PG_FUNCTION_INFO_V1(citus_promote_clone_and_rebalance);
Datum Datum
citus_promote_clone_and_rebalance(PG_FUNCTION_ARGS) citus_promote_clone_and_rebalance(PG_FUNCTION_ARGS)
{ {
CheckCitusVersion(ERROR);
/* Ensure superuser and coordinator */ /* Ensure superuser and coordinator */
EnsureSuperUser(); EnsureSuperUser();
EnsureCoordinator(); EnsureCoordinator();