mirror of
https://github.com/postgres/postgres.git
synced 2026-07-07 00:30:57 -04:00
Fix typo in pg_stat_us_to_ms()
The function converts microseconds to milliseconds, but the parameter
name used "ms".
Thinko in ac8d53dae5.
Author: Tatsuya Kawata <kawatatatsuya0913@gmail.com>
Discussion: https://postgr.es/m/CAHza6qfek15rehnA0GXMCpF2z=Gy6C+3vmcWCMVkU4JiRD8k7g@mail.gmail.com
This commit is contained in:
parent
ba4134075a
commit
71fa15af59
1 changed files with 2 additions and 2 deletions
|
|
@ -1455,9 +1455,9 @@ pgstat_get_io_time_index(IOOp io_op)
|
|||
}
|
||||
|
||||
static inline double
|
||||
pg_stat_us_to_ms(PgStat_Counter val_ms)
|
||||
pg_stat_us_to_ms(PgStat_Counter val_us)
|
||||
{
|
||||
return (double) val_ms / 1000.0;
|
||||
return (double) val_us / 1000.0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue