1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/database/postgresql
Thomas O'Donnell 51b8e79203
Refactor postgresql modules (#291)
* Refactor postgresql_idx to simplify code

Have refactored the postgresql_idx module to:
* Use the class schema in the drop function rather than a passed in one
* Remove the if/else and just return the bool in the drop and create
  functions

* Refactor postgresql_ext module

Have refactored the postgresql_ext module to:
* Remove an unused exception
* Simplify logic in the create and update functions
* Use list comprehension to simplify getting the available version

* Refactor postgresql_user_obj_stat_info module

Have refactored the postgresql_user_obj_stat_info module to:
* Simplify the logic in some of the functions
* Reduce duplicate code

* Add changelog fragment
2020-05-12 09:32:06 +03:00
..
postgresql_copy.py postgres: make interfaces of exec_sql clearer (#43) 2020-03-25 11:44:28 +00:00
postgresql_db.py postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_ext.py Refactor postgresql modules (#291) 2020-05-12 09:32:06 +03:00
postgresql_idx.py Refactor postgresql modules (#291) 2020-05-12 09:32:06 +03:00
postgresql_info.py postgresql_info: add the trust_input parameter (#308) 2020-05-09 11:24:20 +03:00
postgresql_lang.py postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_membership.py postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_owner.py postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_pg_hba.py Initial commit 2020-03-09 09:11:07 +00:00
postgresql_ping.py Initial commit 2020-03-09 09:11:07 +00:00
postgresql_privs.py postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_publication.py postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_query.py postgresql_query: add trust_input parameter (#294) 2020-05-07 12:49:53 +03:00
postgresql_schema.py postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_sequence.py postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_set.py Initial commit 2020-03-09 09:11:07 +00:00
postgresql_slot.py Add trust_input option to postgresql_slot module (#298) 2020-05-07 18:26:15 +03:00
postgresql_subscription.py postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_table.py postgresql_table: add the trust_input parameter (#307) 2020-05-09 11:23:33 +03:00
postgresql_tablespace.py postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_user.py postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309) 2020-05-09 09:25:12 +03:00
postgresql_user_obj_stat_info.py Refactor postgresql modules (#291) 2020-05-12 09:32:06 +03:00