Topics
This is a patch release of the community.postgresql
collection.
This changelog contains all changes to the modules and plugins in this collection
that have been added after the release of community.postgresql
2.4.5.
- postgresql_db -
restore
custom format as file instead of stdin to allow the use of --job flag intarget_opts
(#594). - postgresql_ext - Reconnect before upgrade to avoid accidental load of the upgraded extension (#695).
- postgresql_idx - consider schema name when checking for index (#692). Index names are only unique within a schema. This allows using the same index name in multiple schemas.
- postgresql_privs - Enables the ability to revoke functions from user (#687).
This is a patch release of the community.postgresql
collection.
This changelog contains all changes to the modules and plugins in this collection
that have been added after the release of community.postgresql
2.4.4.
- postgresql_privs - fix a failure when altering privileges with
grant_option: true
(#668).
This is a patch release of the community.postgresql
collection.
This changelog contains all changes to the modules and plugins in this collection
that have been added after the release of community.postgresql
2.4.3.
- postgresql_query - now reports not changed for queries starting with "SHOW" (#592).
- postgresql_user - module failed when running against an SQL_ASCII encoded database as the user's current password was returned as bytes as opposed to a str. Fix now checks for this case and decodes the bytes as an ascii encoded string. (#584).
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules and plugins in this collection
that have been added after the release of community.postgresql
2.4.2.
- postgresql_lang - the module has been deprecated and will be removed in
community.postgresql 4.0.0
. Please use thepostgresql_ext
module instead (#559).
- postgresql_set - fixed error message in param_set function (#505).
This is a bugfix release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after release 2.4.1.
- postgresql_db - when the task is completed successfully, close the database connection (#465).
- postgresql_info - when the task is completed successfully, close the database connection (#465).
- postgresql_ping - when the task is completed successfully, close the database connection (#465).
- postgresql_privs - when the task is completed successfully, close the database connection (#465).
This is the bugfix release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after release 2.4.0.
- postgresql_privs - fix a breaking change related to handling the
password
argument (#463).
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
2.3.2.
- postgresql_privs - the
password
argument is deprecated and will be removed in community.postgresql 4.0.0, use thelogin_password
argument instead (#406).
- Add support for module_defaults with action_group
all
(#430). - postgresql - added new parameters
ssl_cert
andssl_key
for ssl connection (#424). - postgresql - when receiving the connection parameters, the
PGPORT
andPGUSER
environment variables are checked. The order of assigning valuesenvironment variables
->default values
->set values
(#311). - postgresql_query - a list of queries can be passed as the
query
argument's value, the results will be stored in thequery_all_results
return value (is not deprecated anymore, as well asquery_list
) (#312).
- postgresql_info - add support for non numeric extenstion version (#428).
- postgresql_info - when getting information about subscriptions, check the list of available columns in the pg_subscription table (#429).
- postgresql_privs - fix connect_params being ignored (#450).
- postgresql_query - could crash under certain conditions because of a missing import to psycopg2.extras (#283).
- postgresql_set - avoid throwing ValueError for IP addresses and other values that may look like a number, but which are not (#422).
- postgresql_set - avoid wrong values for single-value parameters containing commas (#400).
- postgresql_user - properly close DB connections to prevent possible connection limit exhaustion (#431).
This is the bugfix release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after release 2.3.1.
- postgresql_pg_hba - fix
changed
return value for whenoverwrite
is enabled (#378). - postgresql_privs - fix quoting of the
schema
parameter in SQL statements (#382). - postgresql_privs - raise an error when the
objs: ALL_IN_SCHEMA
is used with a value oftype
that is nottable
,sequence
,function
orprocedure
(#379).
This is the bugfix release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after release 2.3.0.
- postgresql_privs - fails with
type=default_privs
,privs=ALL
,objs=ALL_DEFAULT
(#373).
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
2.2.0.
- postgresql_* - add the
connect_params
parameter dict to allow any additionallibpg
connection parameters (#329).
- postgresql_info - make arguments passed to SHOW command properly quoted to prevent the interpreter evaluating them (#314).
- postgresql_pg_hba - support the connection types
hostgssenc
andhostnogssenc
(#351). - postgresql_privs - add support for alter default privileges grant usage on schemas (#332).
- postgresql_privs - cannot grant select on objects in all schemas; add the
not-specified
value to theschema
parameter to make this possible (#332). - postgresql_set - avoid postgres puts extra quotes when passing values containing commas (#78).
- postgresql_user - make the module idempotent when password is scram hashed (#301).
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
2.1.5.
- postgresql_user - the
groups
argument has been deprecated and will be removed incommunity.postgresql 3.0.0
. Please use thepostgresql_membership
module to specify group/role memberships instead (#277).
- postgresql_membership - add the
exact
state value to be able to specify a list of only groups a user must be a member of (#277). - postgresql_pg_hba - add argument
overwrite
(bool, default: false) to remove unmanaged rules (#297). - postgresql_pg_hba - add argument
rules_behavior
(choices: conflict (default), combine) to fail whenrules
and normal rule-specific arguments are given or, whencombine
, use them as defaults for therules
items (#297). - postgresql_pg_hba - add argument
rules
to specify a list of rules using the normal rule-specific argument in each item (#297).
- Include
simplified_bsd.txt
license file for various module utils. - postgresql_info - fix pg version parsing (#315).
- postgresql_ping - fix pg version parsing (#315).
- postgresql_privs.py - add functionality when the PostgreSQL version is 9.0.0 or greater to incorporate
ALL x IN SCHEMA
syntax (#282). Please see the official documentation for details regarding grants (https://www.postgresql.org/docs/9.0/sql-grant.html). - postgresql_subscription - fix idempotence by casting the
connparams
dict variable (#280). - postgresql_user - add
alter user
-statements in the return valuequeries
(#307).
This is the bugfix release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
2.1.4
- Include
PSF-license.txt
file forplugins/module_utils/_version.py
. - collection core functions - fix attribute error nonetype by always calling ensure_required_libs (#252).
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
2.1.3.
- The community.postgresql collection no longer supports
Ansible 2.9
andansible-base 2.10
. While we take no active measures to prevent usage and there are no plans to introduce incompatible code to the modules, we will stop testing againstAnsible 2.9
andansible-base 2.10
. Both will very soon be End of Life and if you are still using them, you should consider upgrading to thelatest Ansible / ansible-core 2.11 or later
as soon as possible (#245).
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
2.1.2.
- postgresql_user - the
priv
argument has been deprecated and will be removed incommunity.postgresql 3.0.0
. Please use thepostgresql_privs
module to grant/revoke privileges instead (#212).
- postgresql_db - get rid of the deprecated psycopg2 connection alias
database
in favor ofdbname
when psycopg2 is 2.7+ is used (#194, #196).
This is the patch release of the community.postgresql collection. This changelog contains all changes to the modules in this collection that have been added after the release of community.postgresql 2.1.1.
- postgresql_privs - the
usage_on_types
feature have been deprecated and will be removed incommunity.postgresql 3.0.0
. Please use thetype
option with thetype
value to explicitly grant/revoke privileges on types (#207).
This is the bugfix release of the community.postgresql collection. This changelog contains all changes to the modules in this collection that have been added after the release of community.postgresql 2.1.0.
- module core functions - get rid of the deprecated psycopg2 connection alias
database
in favor ofdbname
when psycopg2 is 2.7+ (#196). - postgresql_query - cannot handle .sql file with \n at end of file (#180).
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
2.0.0.
- postgresql_query - the
path_to_script
andas_single_query
options as well as thequery_list
andquery_all_results
return values have been deprecated and will be removed incommunity.postgresql 3.0.0
. Please use thecommunity.postgresql.postgresql_script
module to execute statements from scripts (#189).
- postgresql_script - Run PostgreSQL statements from a file
This is the major release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
1.7.0.
- postgresql_query - the default value of the
as_single_query
option changes toyes
. If the related behavior of your tasks where the module is involved changes, please adjust the parameter's value correspondingly (#85).
This is the bugfix release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
1.6.1.
- Collection core functions - use vendored version of
distutils.version
instead of the deprecated Python standard librarydistutils
(#179). - postgres_info - It now works on AWS RDS Postgres.
- postgres_info - Specific info (namespaces, extensions, languages) of each database was not being shown properly. Instead, the info from the DB that was connected was always being shown (#172).
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
1.5.0.
- postgresql_ext - Handle postgresql extension updates through path validation instead of version comparison (#129).
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
1.4.0.
- postgresql_db - Add the
force
boolean option to drop active connections first and then remove the database (#109). - postgresql_info - Add the
raw
return value for extension version (#138). - postgresql_pg_hba - Add the parameters
keep_comments_at_rules
andcomment
(#134).
- postgresql_ext - Fix extension version handling when it has 0 value (#136).
- postgresql_info - Fix extension version handling when it has 0 value (#137).
- postgresql_set - Fix wrong numerical value conversion (#110).
- postgresql_slot - Correct the server_version check for PG 9.6 (https://github.com/ansible-collections/community.postgresql/issue/120)
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
1.3.0.
- postgresql_db - add support for the
directory
format when thestate
option isdump
orrestore
(#108). - postgresql_db - add the
rename
value to thestate
option (#107).
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
1.2.0.
- postgresql_query - the default value of the
as_single_query
option will be changed toyes
in community.postgresql 2.0.0 (#85).
- postgresql_privs - fix
fail_on_role
check (#82).
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
1.1.1.
- postgresql_info - add the
patch
,full
, andraw
values of theversion
return value (#68). - postgresql_ping - add the
patch
,full
, andraw
values of theserver_version
return value (#70).
This is the patch release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
1.1.0.
- postgresql_query - add a warning to set
as_single_query
option explicitly (#54). - postgresql_query - fix datetime.timedelta type handling (#47).
- postgresql_query - fix decimal handling (#45).
- postgresql_set - fails in check_mode on non-numeric values containing B (#48).
This is the minor release of the community.postgresql
collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of community.postgresql
1.0.0.
- postgresql_query - add
as_single_query
option to execute a script content as a single query to avoid semicolon related errors (#37).
- postgresql_info - fix crash caused by wrong PgSQL version parsing (#40).
- postgresql_ping - fix crash caused by wrong PgSQL version parsing (#40).
- postgresql_set - return a message instead of traceback when a passed parameter has not been found (#41).
This is the first proper release of the community.postgresql
collection which is needed to include the collection in Ansible.
This changelog does not contain any changes because there are no changes made since release 0.1.0.
The community.postgresql
continues the work on the Ansible PostgreSQL
modules from their state in community.general
1.2.0.
The changes listed here are thus relative to the modules community.general.postgresql_*
.
- postgresql_info - add
in_recovery
return value to show if a service in recovery mode or not (ansible-collections/community.general#1068). - postgresql_privs - add
procedure
type support (ansible-collections/community.general#1002). - postgresql_query - add
query_list
andquery_all_results
return values (ansible-collections/community.general#838).
- postgresql_ext - fix the module crashes when available ext versions cannot be compared with current version (ansible-collections/community.general#1095).
- postgresql_ext - fix version selection when
version=latest
(ansible-collections/community.general#1078). - postgresql_privs - fix module fails when
type
group and passingobjs
value containing hyphens (ansible-collections/community.general#1058).