generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better handling of extension versions (#163)
* Initial changes to postgresql extension handling * Properly handle latest version flag. Formatting fixes. * Fix variable usage. Also make param usage consistent. Update docs. * Update plugins/modules/postgresql_ext.py Co-authored-by: Douglas J Hunley <doug.hunley@gmail.com> * Update plugins/modules/postgresql_ext.py Co-authored-by: Douglas J Hunley <doug.hunley@gmail.com> * Fix CI test failures * Wrap long doc line * Fix invalid yaml in examples * Fix handling given version on extension creation. Use safe sql string generation with identifiers. * Fix CI test failures * Revert safe sql string building. Not supported in CentOS7/U20 * Fix CI Test on Ubuntu to use new extension update syntax for latest version * Fix CI test for U20 when updating to latest version * Fix CI test for non-existent extension. Update python doc. * Remove unused codepath * Remove extra comment marker * Add changlog fragment * Apply suggestions from code review Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> * Make available_extensions a set. Remove SELECT from executed queries. Update doc. Co-authored-by: Douglas J Hunley <doug.hunley@gmail.com> Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
- Loading branch information
1 parent
44dc453
commit 8eaf1af
Showing
3 changed files
with
128 additions
and
88 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
changelogs/fragments/163-better_handling_of_postgresql_extensions.yml
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,2 @@ | ||
bugfixes: | ||
- postgresql_ext - Handle postgresql extension updates through path validation instead of version comparison (https://github.com/ansible-collections/community.postgresql/issues/129). |
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