Re: Add mode column to pg_stat_progress_vacuum
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Sami Imseih <samimseih@gmail.com>
Cc: Robert Treat <rob@xzilla.net>, Shinya Kato <shinya11.kato@gmail.com>, pgsql-hackers@postgresql.org
Date: 2025-10-07T19:06:53Z
Lists: pgsql-hackers
On Tue, Oct 07, 2025 at 12:45:12PM -0500, Sami Imseih wrote: > The vacuum command detail can now be determined from > pg_stat_activity.query by joining with pg_stat_progress_vacuum, right? > I don't see why this is not sufficient, especially because it already > indicates how the vacuum was triggered, and the autovacuum activity > message also tells you why it was triggered. We could perhaps add "due to > failsafe" to the autovacuum activity message to explicitly show that reason. Eh, IMHO requiring users to look for a certain substring in the query field doesn't seem especially user-friendly to me. (I was going to point out that it's undocumented, too, but it is in fact documented [0].) [0] https://www.postgresql.org/docs/current/routine-vacuuming.html#AUTOVACUUM -- nathan
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add started_by column to pg_stat_progress_analyze view.
- ab40db3852df 19 (unreleased) landed
-
Add mode and started_by columns to pg_stat_progress_vacuum view.
- 0d7895206198 19 (unreleased) landed