Creating extensions for non-superusers - Mailing list pgsql-hackers

From Alexandra Ryzhevich
Subject Creating extensions for non-superusers
Date
Msg-id CAOt4E5R6zOHKJfojph_hWEhpY6gxy-Fmn9EqhQyA+gcNT3WzJQ@mail.gmail.com
Whole thread Raw
Responses Re: Creating extensions for non-superusers
List pgsql-hackers
Hello!

In an environment where we control the host system and all installed extensions, we need to allow postgresql non-superuser to install all of them, without opening gaps that will let this user gain superuser privileges. We have a sample solution to add a new default role pg_create_extension which does not need superuser privilege to create any extensions.

However we are not sure if it's the best approach. Are there any other ideas, proposals or feedback?

Is this something you would consider adding to the next major release?

Best regards,
Alexandra Ryzhevich
Attachment

pgsql-hackers by date:

Previous
From: Marina Polyakova
Date:
Subject: Re: [HACKERS] WIP Patch: Pgbench Serialization and deadlock errors
Next
From: Stephen Frost
Date:
Subject: Re: Creating extensions for non-superusers