Add command column to pg_stat_progress_create_index

Поиск
Список
Период
Сортировка
Искать

Add command column to pg_stat_progress_create_index

От:
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Дата:
Вложения:
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

Re: Add command column to pg_stat_progress_create_index

От:
Andres Freund <andres@anarazel.de>
Дата:
Hi,

On 2019-05-27 14:18:12 -0400, Peter Eisentraut wrote:
> 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.

Seems like we should do that for v12 then?

Greetings,

Andres Freund


Re: Add command column to pg_stat_progress_create_index

От:
Alvaro Herrera <alvherre@2ndquadrant.com>
Дата:
On 2019-May-27, Peter Eisentraut wrote:

> 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.

+1.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Re: Add command column to pg_stat_progress_create_index

От:
Fabrízio de Royes Mello <fabriziomello@gmail.com>
Дата:
On Mon, May 27, 2019 at 4:51 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
>
> On 2019-May-27, Peter Eisentraut wrote:
>
> > 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.
>
> +1.
>

+1

--
   Fabrízio de Royes Mello         Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

Re: Add command column to pg_stat_progress_create_index

От:
Michael Paquier <michael@paquier.xyz>
Дата:
Вложения:
On Mon, May 27, 2019 at 11:20:28AM -0700, Andres Freund wrote:
> On 2019-05-27 14:18:12 -0400, Peter Eisentraut wrote:
>> 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.
> 
> Seems like we should do that for v12 then?

+1.
--
Michael

Re: Add command column to pg_stat_progress_create_index

От:
David Fetter <david@fetter.org>
Дата:
On Mon, May 27, 2019 at 11:20:28AM -0700, Andres Freund wrote:
> Hi,
> 
> On 2019-05-27 14:18:12 -0400, Peter Eisentraut wrote:
> > 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.
> 
> Seems like we should do that for v12 then?

+1

Best,
David.
-- 
David Fetter  http://fetter.org/
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


Re: Add command column to pg_stat_progress_create_index

От:
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Дата:
On 2019-05-27 20:18, Peter Eisentraut wrote:
> 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.

committed

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


FAQ