Chaned the .sql files to add the parameter

pull/7013/head
Shabnam Khan 2023-06-20 10:01:17 +05:30
parent ed2e68b1a2
commit 88cc7faa52
2 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,6 @@
CREATE OR REPLACE FUNCTION pg_catalog.citus_auto_shard_split_start(
shard_transfer_mode citus.shard_transfer_mode default 'auto'
)
RETURNS VOID
@ -6,8 +8,8 @@ CREATE OR REPLACE FUNCTION pg_catalog.citus_auto_shard_split_start(
LANGUAGE C VOLATILE;
COMMENT ON FUNCTION pg_catalog.citus_auto_shard_split_start()
COMMENT ON FUNCTION pg_catalog.citus_auto_shard_split_start(citus.shard_transfer_mode)
IS 'automatically split the necessary shards in the cluster in the background';
GRANT EXECUTE ON FUNCTION pg_catalog.citus_auto_shard_split_start() TO PUBLIC;
GRANT EXECUTE ON FUNCTION pg_catalog.citus_auto_shard_split_start(citus.shard_transfer_mode) TO PUBLIC;

View File

@ -1,4 +1,5 @@
CREATE OR REPLACE FUNCTION pg_catalog.citus_auto_shard_split_start(
shard_transfer_mode citus.shard_transfer_mode default 'auto'
)
RETURNS VOID
@ -7,8 +8,8 @@ CREATE OR REPLACE FUNCTION pg_catalog.citus_auto_shard_split_start(
LANGUAGE C VOLATILE;
COMMENT ON FUNCTION pg_catalog.citus_auto_shard_split_start()
COMMENT ON FUNCTION pg_catalog.citus_auto_shard_split_start(citus.shard_transfer_mode)
IS 'automatically split the necessary shards in the cluster in the background';
GRANT EXECUTE ON FUNCTION pg_catalog.citus_auto_shard_split_start() TO PUBLIC;
GRANT EXECUTE ON FUNCTION pg_catalog.citus_auto_shard_split_start(citus.shard_transfer_mode) TO PUBLIC;