-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Check extension install vs upgrade (#102)
The CI now installs pg_validate_extupgrade, and calls it comparing the current version (retrieved from the control file) and the previous version (retrieved from extension update files). If no update path exists (which can happen with a new X.0.0 version), the skip is checked.
- Loading branch information
Showing
2 changed files
with
68 additions
and
0 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,9 @@ | ||
extname = 'powa' | ||
from = '%%FROM_VER%%' | ||
to = '%%TO_VER%%' | ||
extra_queries = [ | ||
] | ||
pre_upgrade_queries = [ | ||
'SELECT powa_take_snapshot()', | ||
'RESET application_name', | ||
] |
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