chore(deps): update dependency community.postgresql to v5 #1019
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/community.postgresql-5.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
4.2.0->5.1.3Release Notes
ansible-collections/community.postgresql (community.postgresql)
v5.1.3Compare Source
======
Release Summary
This is a patch release of the
community.postgresqlcollection.This changelog contains all changes to the modules and plugins in this collection
that have been made after the previous release.
Bugfixes
true,yesor1, and enum values case-insensitively, so setting the same value again in another spelling or case, such asWARNINGforlog_min_messages, no longer reports a change (https://github.com/ansible-collections/community.postgresql/pull/998).pg_settings. Values such as1.0failed withcannot be converted to int, and so did every run for a parameter whose current value is shown in scientific notation, such as1e-05. Parameters of type real with a time unit, such asvacuum_cost_delay, accept fractional values too (https://github.com/ansible-collections/community.postgresql/pull/997).output_plugin_libraries(PostgreSQL 14.24, 15.19, 16.15, 17.11, 18.6 and later) andoauth_validator_libraries(PostgreSQL 18+) as GUC_LIST_QUOTE list parameters, so setting the same list again no longer reports a change (https://github.com/ansible-collections/community.postgresql/pull/996).ALTER ROLE/DATABASE ... SET), for all roles (ALTER ROLE ALL ... SET), for the connection or for the session, compare the desired value with the value in the configuration files instead of the session value shown bypg_settings. Previously the module could report no change and leave the server configuration untouched (https://github.com/ansible-collections/community.postgresql/pull/999).psqlorpg_restoreif it fails. Before, a restore program that exited early (for example on an unknown option intarget_optsor a failed login) made the decompressor die ofSIGPIPE, and the module returnedrc=-13with an empty message (https://github.com/ansible-collections/community.postgresql/issues/916).positional_argsornamed_args, quote its elements as PostgreSQL array elements instead of passing Python's single quotes as part of each element (https://github.com/ansible-collections/community.postgresql/issues/411).positional_argsornamed_argscontainsNone, send that element as SQLNULLinstead of the textNone, which was stored as a string in a text array and failed for other array types such asint[].v5.1.2Compare Source
======
Release Summary
This is a patch release of the
community.postgresqlcollection.This changelog contains all changes to the modules and plugins in this collection
that have been made after the previous release.
Bugfixes
privsandobjswhenstate: absentis used (https://github.com/ansible-collections/community.postgresql/issues/582). To retain the previous behavior of revoking all default privileges on TABLES, FUNCTIONS, SEQUENCES and TYPES, useobjs: ALL_DEFAULTwithprivs: ALL.v5.1.1Compare Source
======
Release Summary
This is a patch release of the
community.postgresqlcollection.This changelog contains all changes to the modules and plugins in this collection
that have been made after the previous release.
Bugfixes
online_analyze.verbose(https://github.com/ansible-collections/community.postgresql/issues/940).PGSSLMODE,PGSSLROOTCERTorPATH) when restoring a compressed dump withlogin_passwordset. Before, the environment of the restore command was replaced byPGPASSWORDalone, so it differed from the uncompressed restore path.ALTER TABLE ... SET UNLOGGEDorALTER TABLE ... SET LOGGEDwhenunloggedis set explicitly and differs from the current state.unloggedno longer defaults tofalse, so existing tables are left as they are when the option is not set (https://github.com/ansible-collections/community.postgresql/issues/878).v5.1.0Compare Source
======
Release Summary
This is a minor release of the
community.postgresqlcollection.This changelog contains all changes to the modules and plugins in this collection
that have been made after the previous release.
Minor Changes
"foo"creates a role called"foo"rather thanfoo, and the valuewe""irdcreateswe""irdrather thanwe"ird. Pass the literal role name in both cases.Bugfixes
session_rolecontaining a double quote producing invalid SQL in theSET ROLEissued on connect, which affects every module in this collection.set_commentinterpolating the object name intoCOMMENT ONunquoted, so a name containing a double quote produced invalid SQL or, under psycopg2, executed the rest of the name as SQL. Affectspostgresql_user,postgresql_db,postgresql_schema,postgresql_ext,postgresql_publication,postgresql_subscriptionandpostgresql_tablespace.ALTER DATABASEandDROP DATABASE.CREATE DATABASEbeing interpolated unquoted, so that a name containing a double quote produced invalid SQL. They are now quoted as single identifiers.CREATE EXTENSION,ALTER EXTENSIONandDROP EXTENSION. A per cent sign in such a name also brokeCREATE EXTENSIONandALTER EXTENSION, which carry query parameters.CREATE INDEXandDROP INDEX. The schema-qualified names are quoted per part, so a dot in either name stays part of that name.'bool' object is not iterablewhen a database has no extensions installed. A query that returns no rows now gives an empty result instead ofFalse(https://github.com/ansible-collections/community.postgresql/issues/959).ALTER DATABASE,ALTER TABLESPACEandALTER LANGUAGE. The language name was interpolated unquoted and is now quoted as a single identifier.OWNER TOandREASSIGN OWNED BYstatements alike.objsproducing invalid SQL for object types that are not schema qualified, which coverstype=groupas well asdatabase,schema,language,tablespace,foreign_server,foreign_data_wrapperandparameter.target_roleswhose name contains a double quote producing invalid SQL in the generatedALTER DEFAULT PRIVILEGES FOR ROLEstatement.session_rolecontaining one producing invalid SQL inSET ROLE.ALTER PUBLICATION ... OWNER TO.CREATE SCHEMA ... AUTHORIZATIONandALTER SCHEMA ... OWNER TO.ALTER SEQUENCE.CREATE SUBSCRIPTION,ALTER SUBSCRIPTIONandDROP SUBSCRIPTION.CREATE TABLEandALTER TABLE.CREATE TABLESPACE,ALTER TABLESPACEandDROP TABLESPACE.ALTER ROLE ... SETandALTER ROLE ... RESETwhen O(quote_configuration_values=false). The key is now quoted as a single identifier.User escaped identifiers must escape extra quotes. Such a name is now escaped and accepted, and a name that is not a balanced pair of quotes no longer fails.CREATE USER,ALTER USER,CREATE DATABASEandCOMMENT ON, which also carry query parameters. Such a name either failed withunsupported format characteror had a parameter interpolated into it; a name of the formx%(password)syput the password into the role name.v5.0.0Compare Source
======
Release Summary
This is a major release of the
community.postgresqlcollection.This changelog contains all changes to the modules and plugins in this collection
that have been made after the previous release.
Minor Changes
ansible.module_utils.sixcompatibility shims with their Python standard library equivalents.ansible.module_utils.sixis deprecated in ansible-core 2.21 and is scheduled for removal in 2.24.granted_by_any, at the top level and permembershipsrow, to manage every grant of a membership whoever made it, as the deprecatedgroupsoption does.GRANTthen names no granting role, andstate=absentandstate=exactrevoke every grant of the membership. On every version,groupsofxisgranted_by_anyset with amembershipsrow ofx.grantsandeffective_optionsreturn values, listing every grant of the requested pairs and the options the target role effectively holds.membershipsoption, one membership per row with its owntarget_roles,granted_by,admin_option,inherit_optionandset_option, applied in one transaction. Mutually exclusive withgroups; the top-leveltarget_rolesis the default for rows that name none (https://github.com/ansible-collections/community.postgresql/issues/757).PgMembershipfrom thepostgresmodule_utils into a newmembershipmodule_utils, split intoPgMembershipByPair(thegroupsmodel) andPgMembershipByGrantor(themembershipsmodel). External importers have to follow the move.memberships, check before emitting aGRANTthat the connecting role has the privileges of the granting role and that the granting role holdsADMIN OPTIONon the group, and fail naming the roles that do hold it. The deprecatedgroupsoption gets the privilege check for every granting role it finds recorded before it revokes. A task with nothing left to do is not checked.Breaking Changes / Porting Guide
state=exactnow reportsgrantedwith an entry for every requested group, asstate=presentdoes, soresult.granted == {}no longer holds on an unchanged run.membershipsrow must setgranted_bywhen the connecting role holdsADMIN OPTIONon a group only through another role, since PostgreSQL refuses a grant recorded under a role without the option. The deprecatedgroupsoption is not affected.membershipsrow manages the one grant recorded under its granting role, which is the bootstrap superuser when the connecting role is a superuser, the connecting role otherwise, or the role named bygranted_by.state=presentmakes that grant even when another role has granted the membership, andstate=absentandstate=exactneither revoke nor report a grant recorded under another role. A task that was unchanged may report changed on its first run and fire its handlers. The deprecatedgroupsoption keeps treating the (group, target role) pair as the membership, whoever granted it (https://github.com/ansible-collections/community.postgresql/issues/757).Deprecated Features
groupsoption is deprecated and will be removed incommunity.postgresql 6.0.0.granted_by_anywith thegroupskey ofmembershipsbehaves the same on every version;target_rolesstays at the top level, and an emptymembershipslist withstate=exactreplaces an emptygroupslist.Removed Features (previously deprecated)
login,host,unix_socketandportaliases have been removed incommunity.postgresql 5.0.0. Use thelogin_user,login_host,login_unix_socketandlogin_portoptions instead (https://github.com/ansible-collections/community.postgresql/issues/847).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).renamechoice of thestateoption has been removed. Use thecommunity.postgresql.postgresql_querymodule instead (https://github.com/ansible-collections/community.postgresql/issues/833).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).keep_comments_at_rulesoption has been removed. It had no effect since it was deprecated (https://github.com/ansible-collections/community.postgresql/issues/810).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbanddatabasealiases of thelogin_dboption have been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbanddatabasealiases of thelogin_dboption have been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbanddatabasealiases of thelogin_dboption have been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).rename_tooption has been removed. Use thecommunity.postgresql.postgresql_querymodule instead (https://github.com/ansible-collections/community.postgresql/issues/833).community.postgresql.postgresql_alter_systemmodule instead (https://github.com/ansible-collections/community.postgresql/issues/823).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).renameoption has been removed. Use thecommunity.postgresql.postgresql_querymodule instead (https://github.com/ansible-collections/community.postgresql/issues/833).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).rename_tooption has been removed. Use thecommunity.postgresql.postgresql_querymodule instead (https://github.com/ansible-collections/community.postgresql/issues/833).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).Bugfixes
state=absentandstate=exactnot removing a membership on PostgreSQL 16 and later when another role had granted it, and reporting a change on every run. The deprecatedgroupsoption now revokes every grant of the pair, oneREVOKEper granting role, and fails naming the granting role when the connecting role lacks its privileges, where it used to succeed without revoking anything (https://github.com/ansible-collections/community.postgresql/issues/757).target_roleslist failing with a SQL syntax error; it is now a no-op.v4.2.2Compare Source
See stable-4/CHANGELOG for all changes
v4.2.1Compare Source
See stable-4/CHANGELOG for all changes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
5ea554165atod54f5841bfd54f5841bftoaf47ef718aaf47ef718ato3bb34f74fc3bb34f74fctocfeaeae0a5cfeaeae0a5to55d6b5565e55d6b5565eto5c023943d05c023943d0to36ef8ecde336ef8ecde3to09b888f4d909b888f4d9to998b23eefeView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.