mirror of https://github.com/citusdata/citus.git
Check citus version in citus_promote_clone_and_rebalance (#8169)
parent
0fd95d71e4
commit
8ece8acac7
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue