PG-542: Performance improvement of pg_stat_monitor.

Refining the code for storing ip locally.
This commit is contained in:
Hamid Akhtar
2023-02-23 13:18:38 +05:00
parent ccaa910c35
commit 9d2efb8913
2 changed files with 13 additions and 11 deletions

View File

@@ -87,7 +87,7 @@ CREATE FUNCTION pg_stat_monitor_internal(
OUT username text,
OUT dbid oid,
OUT datname text,
OUT client_ip int4,
OUT client_ip int8,
OUT queryid int8, -- 4
OUT planid int8,