-
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.
[test] Adjust periods tests to sql_saga
Mainly propagate renames and remove system time related tests. Add test for issue 27 about foreign key consistency.
- Loading branch information
Showing
29 changed files
with
708 additions
and
2,180 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 |
---|---|---|
@@ -1,17 +1,15 @@ | ||
/* Once support for 9.5 has passed, use CASCADE */ | ||
CREATE EXTENSION IF NOT EXISTS btree_gist; | ||
/* Once support for 9.6 has passed, just create the extension */ | ||
CREATE EXTENSION periods VERSION '1.2'; | ||
CREATE EXTENSION sql_saga VERSION '1.0' CASCADE; | ||
NOTICE: installing required extension "btree_gist" | ||
SELECT extversion | ||
FROM pg_extension | ||
WHERE extname = 'periods'; | ||
WHERE extname = 'sql_saga'; | ||
extversion | ||
------------ | ||
1.2 | ||
1.0 | ||
(1 row) | ||
|
||
DROP ROLE periods_unprivileged_user; | ||
ERROR: role "periods_unprivileged_user" does not exist | ||
CREATE ROLE periods_unprivileged_user; | ||
/* Make tests work on PG 15 */ | ||
DROP ROLE IF EXISTS sql_saga_unprivileged_user; | ||
NOTICE: role "sql_saga_unprivileged_user" does not exist, skipping | ||
CREATE ROLE sql_saga_unprivileged_user; | ||
/* Make tests work on PG 15+ */ | ||
GRANT CREATE ON SCHEMA public TO PUBLIC; |
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.