-
Notifications
You must be signed in to change notification settings - Fork 896
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update bgw job table when procedure altered
This deals with the following modifications to the name of a procedure used by a background job: - If a procedure that exists in the jobs table is renamed, the corresponding names in the table will also be changed. - When a procedure that is used for a background worker job is moved to a different schema, modify the job entry as well. - When a schema is renamed, rename the schema name in the procedures as well. - When a schema is dropped and there are procedures used by jobs, it will either remove the entry or throw an error, depending on whether `CASCADE` or `RESTRICT` is in effect. - When a procedure or function used by a job is dropped, it will error out or delete the job depending on whether `CASCADE` or `RESTRICT` is in effect.
- Loading branch information
Showing
4 changed files
with
455 additions
and
52 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixes: #7409 Update bgw job table when altering procedure |
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
Oops, something went wrong.