mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Restrict pgstattuple functions to superusers. (This might be too strict,
but no permissions check at all is certainly no good.) Clean up usage of some deprecated APIs.
This commit is contained in:
@ -1,11 +1,7 @@
|
||||
-- Adjust this setting to control where the objects get created.
|
||||
SET search_path = public;
|
||||
|
||||
DROP FUNCTION pgstattuple(oid);
|
||||
DROP FUNCTION pgstattuple(text);
|
||||
DROP TYPE pgstattuple_type;
|
||||
|
||||
DROP FUNCTION pgstattuple(oid);
|
||||
DROP FUNCTION pgstatindex(text);
|
||||
DROP TYPE pgstatindex_type;
|
||||
|
||||
DROP FUNCTION pg_relpages(text);
|
||||
|
Reference in New Issue
Block a user