Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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 @@ -130,7 +130,6 @@ Our AZP CI includes testing with the following docker images / PostgreSQL versio
- **Basic modules**:
- [postgresql_db](https://docs.ansible.com/ansible/latest/collections/community/postgresql/postgresql_db_module.html)
- [postgresql_ext](https://docs.ansible.com/ansible/latest/collections/community/postgresql/postgresql_ext_module.html)
- [postgresql_lang](https://docs.ansible.com/ansible/latest/collections/community/postgresql/postgresql_lang_module.html)
- [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`)
Expand Down
3 changes: 3 additions & 0 deletions changelogs/fragments/0-remove_lang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
removed_features:
- "postgresql_lang - the module has been removed in ``community.postgresql 4.0.0``. Please use the ``community.postgresql.postgresql_ext`` module instead (https://github.com/ansible-collections/community.postgresql/issues/561)."
- "postgresql_info - the db alias has been removed in ``community.postgresql 4.0.0``. Please use the ``login_db`` option instead (https://github.com/ansible-collections/community.postgresql/issues/801)."
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace: community
name: postgresql
version: 3.14.0
version: 4.0.0
readme: README.md
authors:
- Ansible PostgreSQL community
Expand Down
5 changes: 2 additions & 3 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ action_groups:
- postgresql_ext
- postgresql_idx
- postgresql_info
- postgresql_lang
- postgresql_membership
- postgresql_owner
- postgresql_pg_hba
Expand All @@ -28,6 +27,6 @@ action_groups:
plugin_routing:
modules:
postgresql_lang:
deprecation:
tombstone:
removal_version: 4.0.0
warning_text: Use postgresql_ext instead.
warning_text: Use community.postgresql.postgresql_ext instead.
10 changes: 1 addition & 9 deletions plugins/modules/postgresql_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
description:
- Name of database to connect.
type: str
aliases:
- db
session_role:
description:
- Switch to session_role after connecting. The specified session_role must
Expand Down Expand Up @@ -735,13 +733,7 @@ def __get_current_db(self):
def main():
argument_spec = postgres_common_argument_spec()
argument_spec.update(
login_db=dict(type='str', aliases=['db'], deprecated_aliases=[
{
'name': 'db',
'version': '4.0.0',
'collection_name': 'community.postgresql',
}],
),
login_db=dict(type='str'),
filter=dict(type='list', elements='str'),
session_role=dict(type='str'),
trust_input=dict(type='bool', default=True),
Expand Down
Loading