pgsql: pg_test_timing: fix unit in backward-clock warning
pgsql: pg_test_timing: fix unit in backward-clock warning
От:
Fujii Masao <fujii@postgresql.org>
Дата:
pg_test_timing: fix unit in backward-clock warning pg_test_timing reports timing differences in nanoseconds in master, and in microseconds in v14 through v18, but previously the backward-clock warning incorrectly labeled the value as milliseconds. This commit fixes the warning message to use "ns" in master and "us" in v14 through v18, matching the actual unit being reported. Backpatch to all supported versions. Author: Chao Li Reviewed-by: Lukas Fittl Reviewed-by: Xiaopeng Wang Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/F780CEEB-A237-4302-9F55-60E9D8B6533D@gmail.com Backpatch-through: 14 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/07e96aeff93f43364020f21836c97aff4f6ff6ba Modified Files -------------- src/bin/pg_test_timing/pg_test_timing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)