Issue - (#8):  Fixing the problem when accessing pg_stat_monitor host column.

When accessing the "host" column, it gives the error in some cases
"ERROR:  result is out of range". The patch changes the host datatype
from int to bigint.
This commit is contained in:
Ibrar Ahmed
2019-12-03 08:44:27 +00:00
parent 8caf2509d5
commit 7a0023688b

View File

@@ -33,7 +33,7 @@ CREATE FUNCTION pg_stat_monitor(IN showtext boolean,
OUT temp_blks_written int8, OUT temp_blks_written int8,
OUT blk_read_time float8, OUT blk_read_time float8,
OUT blk_write_time float8, OUT blk_write_time float8,
OUT host int, OUT host bigint,
OUT hist_calls text, OUT hist_calls text,
OUT hist_min_time text, OUT hist_min_time text,
OUT hist_max_time text, OUT hist_max_time text,