mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 01:42:55 +00:00
allow all users in role pg_monitor to monitor their LFC working set
This commit is contained in:
@@ -32,6 +32,8 @@ RETURNS integer
|
||||
AS 'MODULE_PATHNAME', 'approximate_working_set_size'
|
||||
LANGUAGE C PARALLEL SAFE;
|
||||
|
||||
GRANT EXECUTE ON FUNCTION approximate_working_set_size() TO pg_monitor;
|
||||
|
||||
-- Create a view for convenient access.
|
||||
CREATE VIEW local_cache AS
|
||||
SELECT P.* FROM local_cache_pages() AS P
|
||||
|
||||
2
vendor/postgres-v14
vendored
2
vendor/postgres-v14
vendored
Submodule vendor/postgres-v14 updated: 9fd9794436...4cdba8ec5a
2
vendor/postgres-v15
vendored
2
vendor/postgres-v15
vendored
Submodule vendor/postgres-v15 updated: 257aaefb25...0ec04712d5
Reference in New Issue
Block a user