Skip to content

Commit

Permalink
Issue - (#8):  Fixing the problem when accessing pg_stat_monitor host…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
ibrarahmad committed Dec 3, 2019
1 parent 8caf250 commit 7a00236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg_stat_monitor--1.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ CREATE FUNCTION pg_stat_monitor(IN showtext boolean,
OUT temp_blks_written int8,
OUT blk_read_time float8,
OUT blk_write_time float8,
OUT host int,
OUT host bigint,
OUT hist_calls text,
OUT hist_min_time text,
OUT hist_max_time text,
Expand Down

0 comments on commit 7a00236

Please sign in to comment.