Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaa4e0a9

Browse files
author
Alexander Korotkov
committed
Fix permissions on pg_wait_sampling_history and pg_wait_sampling_profile.
1 parent34e9e47 commitaa4e0a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎pg_wait_sampling--1.0.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ LANGUAGE C VOLATILE STRICT;
3131
CREATEVIEWpg_wait_sampling_historyAS
3232
SELECT*FROM pg_wait_sampling_get_history();
3333

34+
GRANTSELECTON pg_wait_sampling_history TO PUBLIC;
35+
3436
CREATEFUNCTIONpg_wait_sampling_get_profile (
3537
OUT pid int4,
3638
OUT event_typetext,
@@ -44,6 +46,8 @@ LANGUAGE C VOLATILE STRICT;
4446
CREATEVIEWpg_wait_sampling_profileAS
4547
SELECT*FROM pg_wait_sampling_get_profile();
4648

49+
GRANTSELECTON pg_wait_sampling_profile TO PUBLIC;
50+
4751
CREATEFUNCTIONpg_wait_sampling_reset_profile()
4852
RETURNS void
4953
AS'MODULE_PATHNAME'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp