Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ Our AZP CI includes testing with the following docker images / PostgreSQL versio
- [postgresql_pg_hba](https://docs.ansible.com/ansible/latest/collections/community/postgresql/postgresql_pg_hba_module.html)
- [postgresql_privs](https://docs.ansible.com/ansible/latest/collections/community/postgresql/postgresql_privs_module.html)
- [postgresql_alter_system](https://docs.ansible.com/ansible/latest/collections/community/postgresql/postgresql_alter_system_module.html) (will replace `postgresql_set`)
- [postgresql_set](https://docs.ansible.com/ansible/latest/collections/community/postgresql/postgresql_set_module.html) (will get deprecated in 4.0.0 and removed in 5.0.0)
- [postgresql_schema](https://docs.ansible.com/ansible/latest/collections/community/postgresql/postgresql_schema_module.html)
- [postgresql_tablespace](https://docs.ansible.com/ansible/latest/collections/community/postgresql/postgresql_tablespace_module.html)
- [postgresql_query](https://docs.ansible.com/ansible/latest/collections/community/postgresql/postgresql_query_module.html)
Expand Down
2 changes: 2 additions & 0 deletions changelogs/fragments/6-set_deprecate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
deprecated_features:
- "postgresql_set - the module has been deprecated and will be removed in ``community.postgresql 5.0.0``. Please use the ``community.postgresql.postgresql_alter_system`` module instead (https://github.com/ansible-collections/community.postgresql/issues/823)."
4 changes: 4 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ plugin_routing:
deprecation:
removal_version: 4.0.0
warning_text: Use postgresql_ext instead.
postgresql_set:
deprecation:
removal_version: 5.0.0
warning_text: Use postgresql_alter_system instead.
4 changes: 4 additions & 0 deletions plugins/modules/postgresql_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
---
module: postgresql_set
short_description: Change a PostgreSQL server configuration parameter
deprecated:
removed_in: "5.0.0"
why: It has been replaced with a better-designed module.
alternative: Use M(community.postgresql.postgresql_alter_system) instead.
description:
- "IMPORTANT: If your PostgreSQL server version is 14 or later,
use the M(community.postgresql.postgresql_alter_system) module instead as it will
Expand Down
2 changes: 0 additions & 2 deletions tests/integration/targets/postgresql_set/aliases

This file was deleted.

2 changes: 0 additions & 2 deletions tests/integration/targets/postgresql_set/meta/main.yml

This file was deleted.

11 changes: 0 additions & 11 deletions tests/integration/targets/postgresql_set/tasks/main.yml

This file was deleted.

121 changes: 0 additions & 121 deletions tests/integration/targets/postgresql_set/tasks/options_coverage.yml

This file was deleted.

Loading