Skip to content

Commit 365263b

Browse files
author
Alexander Korotkov
committed
Revoke pg_wait_sampling_reset_profile from public.
1 parent b7c34c2 commit 365263b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pg_wait_sampling--1.0.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ RETURNS void
4949
AS 'MODULE_PATHNAME'
5050
LANGUAGE C VOLATILE STRICT;
5151

52+
-- Don't want this to be available to non-superusers.
53+
REVOKE ALL ON FUNCTION pg_wait_sampling_reset_profile() FROM PUBLIC;

0 commit comments

Comments
 (0)