postgresql/src/backend/postmaster
Stephen Frost 1574783b4c Use GRANT system to manage access to sensitive functions
Now that pg_dump will properly dump out any ACL changes made to
functions which exist in pg_catalog, switch to using the GRANT system
to manage access to those functions.

This means removing 'if (!superuser()) ereport()' checks from the
functions themselves and then REVOKEing EXECUTE right from 'public' for
these functions in system_views.sql.

Reviews by Alexander Korotkov, Jose Luis Tallon
2016-04-06 21:45:32 -04:00
..
autovacuum.c Revert "Temporarily make pg_ctl and server shutdown a whole lot chattier." 2016-02-10 16:01:04 -05:00
bgworker.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
bgwriter.c Revert bf08f2292f 2016-04-06 14:03:46 +01:00
checkpointer.c Provide much better wait information in pg_stat_activity. 2016-03-10 12:44:09 -05:00
fork_process.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
Makefile Allow background workers to be started dynamically. 2013-07-16 13:02:15 -04:00
pgarch.c Avoid unlikely data-loss scenarios due to rename() without fsync. 2016-03-09 18:53:53 -08:00
pgstat.c Use GRANT system to manage access to sensitive functions 2016-04-06 21:45:32 -04:00
postmaster.c Merge wal_level "archive" and "hot_standby" into new name "replica" 2016-03-18 23:56:03 +01:00
startup.c Rework wait for AccessExclusiveLocks on Hot Standby 2016-03-10 19:26:24 +00:00
syslogger.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
walwriter.c Provide much better wait information in pg_stat_activity. 2016-03-10 12:44:09 -05:00