pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Masahiko Sawada <msawada@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add started_by column to pg_stat_progress_analyze view.
Date: Tue, 09 Dec 2025 19:24:14 +0000
Message-ID: <E1vT3Jl-003fz3-24@gemulon.postgresql.org> (raw)

Add started_by column to pg_stat_progress_analyze view.

The new column, started_by, indicates the initiator of the
analyze ('manual' or 'autovacuum'), helping users and monitoring tools
to better understand ANALYZE behavior.

Bump catalog version.

Author: Shinya Kato <shinya11.kato@gmail.com>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Reviewed-by: Sami Imseih <samimseih@gmail.com>
Reviewed-by: Yu Wang <wangyu_runtime@163.com>
Discussion: https://postgr.es/m/CAA5RZ0suoicwxFeK_eDkUrzF7s0BVTaE7M%2BehCpYcCk5wiECpw%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ab40db3852dfa093b64c9266dd372fee414e993f

Modified Files
--------------
doc/src/sgml/monitoring.sgml         | 25 +++++++++++++++++++++++++
src/backend/catalog/system_views.sql |  5 ++++-
src/backend/commands/analyze.c       |  6 ++++++
src/include/catalog/catversion.h     |  2 +-
src/include/commands/progress.h      |  5 +++++
src/test/regress/expected/rules.out  |  7 ++++++-
6 files changed, 47 insertions(+), 3 deletions(-)



Message-ID: <E1vT3Jl-003fz3-24@gemulon.postgresql.org>
Permalink:  ../E1vT3Jl-003fz3-24@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vT3Jl-003fz3-24@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: msawada@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add started_by column to pg_stat_progress_analyze view.
  In-Reply-To: <E1vT3Jl-003fz3-24@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox