2ebac5226c
* Fix doc bug. Spell `collation` like `lc_collate`. * Whitespace nit in error message * Use %q as the format verb for error messages in postgresql_database resource messages. * REVOKE the `GRANT` given to the connection user when creating a database. For `ROLE`s who have been delegated `CREATEDB` privileges and are not a superuser, in order for them to `CREATE DATABASE` they need to be a member of the `ROLE` who will be `OWNER` for the new database. Once the `CREATE DATABASE` is complete, `REVOKE` the `GRANT` that was given to role so that the user who ran the `CREATE DATABASE` looses all privileges to the target database (unless of course they're a superuser). Fixes a regression introduced in #11452 * Delegated DBA ROLEs can now fix OWNER drift for PostgreSQL databases. Uses the helper functions introduced in #11452 |
||
---|---|---|
.. | ||
postgresql_database.html.markdown | ||
postgresql_extension.html.markdown | ||
postgresql_role.html.markdown | ||
postgresql_schema.html.markdown |