Added pg_catalog.gs_session_memory_context/gs_thread_memory_context

This commit is contained in:
dengxuyue 2021-03-17 21:17:33 +08:00
parent 4b242aa2a3
commit 09594e3393
2 changed files with 6 additions and 0 deletions

View File

@ -11416,3 +11416,6 @@ SELECT
FROM
pg_shseclabel l
JOIN pg_authid rol ON l.classoid = rol.tableoid AND l.objoid = rol.oid;
CREATE OR REPLACE VIEW pg_catalog.gs_session_memory_context AS SELECT * FROM pv_session_memory_detail();
CREATE OR REPLACE VIEW pg_catalog.gs_thread_memory_context AS SELECT * FROM pv_thread_memory_detail();

View File

@ -11416,3 +11416,6 @@ SELECT
FROM
pg_shseclabel l
JOIN pg_authid rol ON l.classoid = rol.tableoid AND l.objoid = rol.oid;
CREATE OR REPLACE VIEW pg_catalog.gs_session_memory_context AS SELECT * FROM pv_session_memory_detail();
CREATE OR REPLACE VIEW pg_catalog.gs_thread_memory_context AS SELECT * FROM pv_thread_memory_detail();