terraform-provider-postgresql
terraform-provider-postgresql copied to clipboard
Manage new createrole_self_grant setting (PG16)
cf https://github.com/cyrilgdn/terraform-provider-postgresql/issues/407#issuecomment-2407615861 PR: #481
In v1.24.0, we did a small fix to be compatible with PG16 but with the same behavior than previous version. In Postgres 16, we can now change the role inheritance behavior when a non-superuser role creates another role. cf https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-CREATEROLE-SELF-GRANT
The new setting createrole_self_grant
allows to configure this behavior
@librucha already did the work in #481 to manage this setting, I'm just creating this issue to keep track of it until we merge/release it.