forked from citusdata/pg_cron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
o omit the exception handler in pg_cron 1.1 upgrade file
o removed unneeded REGRESS_OPTS from Makefile o add cron.schedule and cron.unschedule to regression test o removed some odd extra newlines
- Loading branch information
Sven Stadler
committed
Apr 10, 2018
1 parent
84f9f17
commit 0305160
Showing
5 changed files
with
34 additions
and
16 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
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,12 +1,3 @@ | ||
/* pg_cron--1.0--1.1.sql */ | ||
|
||
DO $$ | ||
BEGIN | ||
BEGIN | ||
ALTER TABLE cron.job ADD COLUMN active boolean not null default 'true'; | ||
EXCEPTION | ||
WHEN duplicate_column THEN RAISE NOTICE 'column <active> already exists in <cron.job>.'; | ||
END; | ||
END; | ||
$$ | ||
|
||
ALTER TABLE cron.job ADD COLUMN active boolean not null default 'true'; |
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