pgsql: Add delay time to VACUUM/ANALYZE (VERBOSE) and autovacuum logs.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add delay time to VACUUM/ANALYZE (VERBOSE) and autovacuum logs.
Date: 2025-02-14 20:54:22
Message-ID: E1tj2hZ-0079Au-TO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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 <ikedamsh(at)oss(dot)nttdata(dot)com>
Author: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Discussion: https://postgr.es/m/ZmaXmWDL829fzAVX%40ip-10-97-1-34.eu-west-3.compute.internal

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7720082ae53280857f1eacb86134a9a759290f40

Modified Files
--------------
doc/src/sgml/config.sgml | 9 ++++++---
src/backend/access/heap/vacuumlazy.c | 11 +++++++++++
src/backend/commands/analyze.c | 9 +++++++++
3 files changed, 26 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Melanie Plageman 2025-02-14 21:41:28 Re: pgsql: Convert heap_vac_scan_next_block() boolean parameters to flags
Previous Message Daniel Gustafsson 2025-02-14 20:45:40 Re: pgsql: Convert heap_vac_scan_next_block() boolean parameters to flags