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 <[email protected]>
Reviewed-by: Masahiko Sawada <[email protected]>
Reviewed-by: Sami Imseih <[email protected]>
Reviewed-by: Yu Wang <[email protected]>
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(-)