pg_dump dump catalog ACLs - Mailing list pgsql-hackers

From Stephen Frost
Subject pg_dump dump catalog ACLs
Date
Msg-id 20160301022013.GZ3127@tamriel.snowman.net
Whole thread Raw
Responses Re: pg_dump dump catalog ACLs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
All,

Per discussion about the best approach to reduce the amount of
superuser-only capabilities, this patch modifies pg_dump to dump out
all ACLs which exist on objects in the pg_catalog schema.  With this
change, follow-on trivial patches will remove explicit superuser()
checks from functions and replace them with 'REVOKE EXECUTE FROM public'
commands, allowing users to then control what users are allowed to
execute those functions.

Started as a new thread to hopefully gain more interest.  Will be
registered in the March commitfest shortly.

Thanks!

Stephen

Attachment

pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: dealing with extension dependencies that aren't quite 'e'
Next
From: Michael Paquier
Date:
Subject: Re: [REVIEW] In-core regression tests for replication, cascading, archiving, PITR, etc.