Add command column to pg_stat_progress_create_index - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Add command column to pg_stat_progress_create_index
Date
Msg-id f0e56b3b-74b7-6cbc-e207-a5ed6bee18dc@2ndquadrant.com
Whole thread Raw
Responses Re: Add command column to pg_stat_progress_create_index  (Andres Freund <andres@anarazel.de>)
Re: Add command column to pg_stat_progress_create_index  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: Add command column to pg_stat_progress_create_index  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
I propose to add a column "command" to pg_stat_progress_create_index.
The sibling view pg_stat_progress_cluster already contains such a
column.  This can help distinguish which command is running and thus
which phases to expect.  It seems reasonable to keep these views
consistent, too.  (They are both new in PG12.)  Patch attached.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Contribute - money
Next
From: Andres Freund
Date:
Subject: Re: Add command column to pg_stat_progress_create_index