PG-164: Query timing will be four decimal places instead of two.
parent
09c8b39efb
commit
51522ca6d9
|
@ -109,17 +109,17 @@ CREATE VIEW pg_stat_monitor AS SELECT
|
|||
sqlcode,
|
||||
message,
|
||||
plans,
|
||||
round( CAST(plan_total_time as numeric), 2)::float8 as plan_total_time,
|
||||
round( CAST(plan_min_time as numeric), 2)::float8 as plan_min_time,
|
||||
round( CAST(plan_max_time as numeric), 2)::float8 as plan_max_time,
|
||||
round( CAST(plan_mean_time as numeric), 2)::float8 as plan_mean_time,
|
||||
round( CAST(plan_stddev_time as numeric), 2)::float8 as plan_stddev_time,
|
||||
round( CAST(plan_total_time as numeric), 4)::float8 as plan_total_time,
|
||||
round( CAST(plan_min_time as numeric), 4)::float8 as plan_min_time,
|
||||
round( CAST(plan_max_time as numeric), 4)::float8 as plan_max_time,
|
||||
round( CAST(plan_mean_time as numeric), 4)::float8 as plan_mean_time,
|
||||
round( CAST(plan_stddev_time as numeric), 4)::float8 as plan_stddev_time,
|
||||
calls,
|
||||
round( CAST(total_time as numeric), 2)::float8 as total_time,
|
||||
round( CAST(min_time as numeric), 2)::float8 as min_time,
|
||||
round( CAST(max_time as numeric), 2)::float8 as max_time,
|
||||
round( CAST(mean_time as numeric), 2)::float8 as mean_time,
|
||||
round( CAST(stddev_time as numeric), 2)::float8 as stddev_time,
|
||||
round( CAST(total_time as numeric), 4)::float8 as total_time,
|
||||
round( CAST(min_time as numeric), 4)::float8 as min_time,
|
||||
round( CAST(max_time as numeric), 4)::float8 as max_time,
|
||||
round( CAST(mean_time as numeric), 4)::float8 as mean_time,
|
||||
round( CAST(stddev_time as numeric), 4)::float8 as stddev_time,
|
||||
rows,
|
||||
shared_blks_hit,
|
||||
shared_blks_read,
|
||||
|
|
Loading…
Reference in New Issue