Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a6d2be

Browse files
committed
fix: grant permissions on pg_stat_activity (#joe124)
1 parent d3eb9ed commit 0a6d2be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/services/provision/databases/postgres/postgres_mgmt.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ begin
206206
new_owner
207207
);
208208
end loop;
209+
210+
grant select on pg_stat_activity to %[1]s;
209211
end
210212
$$;
211213
`

0 commit comments

Comments
 (0)