-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create sequence dependency during metadata syncing
- Loading branch information
Showing
4 changed files
with
123 additions
and
1 deletion.
There are no files selected for viewing
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
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,3 +1,3 @@ | ||
-- citus--9.3-2--9.4-1 | ||
|
||
-- bump version to 9.4-1 | ||
#include "udfs/worker_record_sequence_dependency/9.4-1.sql" |
9 changes: 9 additions & 0 deletions
9
src/backend/distributed/sql/udfs/worker_record_sequence_dependency/9.4-1.sql
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
src/backend/distributed/sql/udfs/worker_record_sequence_dependency/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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CREATE FUNCTION pg_catalog.worker_record_sequence_dependency(seq_name regclass, table_name regclass, column_index int) | ||
RETURNS VOID | ||
LANGUAGE C STRICT | ||
AS 'MODULE_PATHNAME', 'worker_record_sequence_dependency'; | ||
COMMENT ON FUNCTION pg_catalog.worker_record_sequence_dependency(regclass, regclass, int) | ||
IS 'record the fact that the sequence depends on the table in pg_depend'; | ||
|
||
REVOKE ALL ON FUNCTION pg_catalog.worker_record_sequence_dependency(regclass, regclass, int) | ||
FROM PUBLIC; |