Hi, While reading pgstatfuncs.c, I noticed a small inconsistency in pg_stat_us_to_ms().
The function converts microseconds to milliseconds, but the parameter is named val_ms, which suggests the opposite direction. Attached is a trivial patch renaming the parameter to val_us. Regards, Tatsuya Kawata
v1-0001-Fix-typo-in-pg_stat_us_to_ms.patch
Description: Binary data
