Fixed expected output file for histogram testcase.

pull/193/head
Naeem Akhter 2022-03-22 01:55:58 +05:00
parent 96eed05890
commit 3979a205c5
1 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ SELECT pg_stat_monitor_reset();
(1 row) (1 row)
Set pg_stat_monitor.track='all'; Set pg_stat_monitor.pgsm_track='all';
select run_pg_sleep(5); select run_pg_sleep(5);
INFO: Sleep 1 seconds INFO: Sleep 1 seconds
INFO: Sleep 2 seconds INFO: Sleep 2 seconds
@ -47,10 +47,10 @@ INFO: Sleep 5 seconds
SELECT substr(query, 0,50) as query, calls, resp_calls FROM pg_stat_monitor ORDER BY query COLLATE "C"; SELECT substr(query, 0,50) as query, calls, resp_calls FROM pg_stat_monitor ORDER BY query COLLATE "C";
query | calls | resp_calls query | calls | resp_calls
---------------------------------------------------+-------+----------------------- ---------------------------------------------------+-------+-----------------------
SELECT pg_sleep(i) | 5 | {0,0,0,0,0,0,2,3,0,0} SELECT pg_sleep(i) | 5 | {0,0,0,0,0,0,3,2,0,0}
SELECT pg_stat_monitor_reset() | 1 | {1,0,0,0,0,0,0,0,0,0} SELECT pg_stat_monitor_reset() | 1 | {1,0,0,0,0,0,0,0,0,0}
SELECT substr(query, $1,$2) as query, calls, resp | 1 | {1,0,0,0,0,0,0,0,0,0} SELECT substr(query, $1,$2) as query, calls, resp | 1 | {1,0,0,0,0,0,0,0,0,0}
Set pg_stat_monitor.track='all' | 1 | {1,0,0,0,0,0,0,0,0,0} Set pg_stat_monitor.pgsm_track='all' | 1 | {1,0,0,0,0,0,0,0,0,0}
select run_pg_sleep($1) | 1 | {0,0,0,0,0,0,0,0,1,0} select run_pg_sleep($1) | 1 | {0,0,0,0,0,0,0,0,1,0}
(5 rows) (5 rows)
@ -63,8 +63,8 @@ select * from generate_histogram();
(31 - 100)} | 0 | (31 - 100)} | 0 |
(100 - 316)} | 0 | (100 - 316)} | 0 |
(316 - 1000)} | 0 | (316 - 1000)} | 0 |
(1000 - 3162)} | 2 | ■■■■■■■■■■■■■■■■■■■■ (1000 - 3162)} | 3 | ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
(3162 - 10000)} | 3 | ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ (3162 - 10000)} | 2 | ■■■■■■■■■■■■■■■■■■■■
(10000 - 31622)} | 0 | (10000 - 31622)} | 0 |
(31622 - 100000)} | 0 | (31622 - 100000)} | 0 |
(10 rows) (10 rows)