pgsql: Add command column to pg_stat_progress_create_index

Started by Peter Eisentrautabout 7 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Add command column to pg_stat_progress_create_index

This allows determining which command is running, similar to
pg_stat_progress_cluster.

Discussion: /messages/by-id/f0e56b3b-74b7-6cbc-e207-a5ed6bee18dc@2ndquadrant.com

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/monitoring.sgml | 11 ++++++++++-
src/backend/catalog/index.c | 2 ++
src/backend/catalog/system_views.sql | 5 +++++
src/backend/commands/indexcmds.c | 8 ++++++++
src/include/catalog/catversion.h | 2 +-
src/include/commands/progress.h | 7 +++++++
src/test/regress/expected/rules.out | 7 +++++++
7 files changed, 40 insertions(+), 2 deletions(-)