Add delay time to VACUUM/ANALYZE (VERBOSE) and autovacuum logs.
authorNathan Bossart
Fri, 14 Feb 2025 20:53:28 +0000 (14:53 -0600)
committerNathan Bossart
Fri, 14 Feb 2025 20:53:28 +0000 (14:53 -0600)
commit7720082ae53280857f1eacb86134a9a759290f40
tree1113f35a3b4bb5cff04dece4723baf018497ae30
parent9ad1b3d01f369f1b204324857e58d9283ff0a527
Add delay time to VACUUM/ANALYZE (VERBOSE) and autovacuum logs.

Commit bb8dff9995 added this information to the
pg_stat_progress_vacuum and pg_stat_progress_analyze system views.
This commit adds the same information to the output of VACUUM and
ANALYZE with the VERBOSE option and to the autovacuum logs.

Suggested-by: Masahiro Ikeda
Author: Bertrand Drouvot 
Discussion: https://postgr.es/m/ZmaXmWDL829fzAVX%40ip-10-97-1-34.eu-west-3.compute.internal
doc/src/sgml/config.sgml
src/backend/access/heap/vacuumlazy.c
src/backend/commands/analyze.c