-
Notifications
You must be signed in to change notification settings - Fork 666
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
458edd8
commit f641860
Showing
6 changed files
with
355 additions
and
241 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/backend/distributed/sql/downgrades/citus--12.1-1--12.0-1.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 7 additions & 3 deletions
10
src/backend/distributed/sql/udfs/citus_pause_node_within_txn/12.1-1.sql
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 5 additions & 3 deletions
8
src/backend/distributed/sql/udfs/citus_pause_node_within_txn/latest.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
CREATE FUNCTION pg_catalog.citus_pause_node_within_txn(node_id int) | ||
CREATE FUNCTION pg_catalog.citus_pause_node_within_txn(node_id int,force bool ,lock_cooldown int) | ||
RETURNS void | ||
LANGUAGE C STRICT | ||
AS 'MODULE_PATHNAME', $$citus_pause_node_within_txn$$; | ||
|
||
COMMENT ON FUNCTION pg_catalog.citus_pause_node_within_txn(node_id int) | ||
COMMENT ON FUNCTION pg_catalog.citus_pause_node_within_txn(node_id int, | ||
force bool, | ||
lock_cooldown int ) | ||
IS 'pauses node with given id which leads to add lock in tables and prevent any queries to be executed on that node'; | ||
|
||
REVOKE ALL ON FUNCTION pg_catalog.citus_pause_node_within_txn(int) FROM PUBLIC; | ||
REVOKE ALL ON FUNCTION pg_catalog.citus_pause_node_within_txn(int,bool,int) FROM PUBLIC; |
Oops, something went wrong.