[PATCH] New predefined role pg_manage_extensions

Michael Banck <mbanck@gmx.net>

From: Michael Banck <mbanck@gmx.net>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-01-12T14:53:01Z
Lists: pgsql-hackers

Attachments

Hi,

I propose to add a new predefined role to Postgres,
pg_manage_extensions. The idea is that it allows Superusers to delegate
the rights to create, update or delete extensions to other roles, even
if those extensions are not trusted or those users are not the database
owner.

I have attached a WIP patch for this.


Thoughts?

Michael

Commits

  1. Apply quotes more consistently to GUC names in logs