aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2016-04-06 21:45:32 -0400
committerStephen Frost <sfrost@snowman.net>2016-04-06 21:45:32 -0400
commit1574783b4ced0356fbc626af1a1a469faa6b41e1 (patch)
tree1b999ee5c4a940bf220ee491303eae73cffa637c /src/backend/access/gist/gistvacuum.c
parent23f34fa4ba358671adab16773e79c17c92cbc870 (diff)
downloadpostgresql-1574783b4ced0356fbc626af1a1a469faa6b41e1.tar.gz
postgresql-1574783b4ced0356fbc626af1a1a469faa6b41e1.zip
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
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions