Re: [PROPOSAL] VACUUM Progress Checker.

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Vinayak <vinpokale(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Rahila Syed <rahilasyed90(at)gmail(dot)com>
Subject: Re: [PROPOSAL] VACUUM Progress Checker.
Date: 2015-12-02 18:48:20
Message-ID: 20151202184820.GL2763@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Vinayak wrote:

> In the vacuum progress, column table_name is showing first 30 characters of
> table name.
> postgres=# create table test_vacuum_progress_in_postgresql(c1 int,c2 text);
> postgres=# select * from pg_stat_vacuum_progress ;
> -[ RECORD 1 ]-------+------------------------------
> pid | 12284
> table_name | public.test_vacuum_progress_i

Actually, do we really need to have the table name as a string at all
here? Why not just report the table OID? Surely whoever wants to check
the progress can connect to the database in question to figure out the
table name.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2015-12-02 19:00:26 broken tests
Previous Message Robert Haas 2015-12-02 18:42:01 Re: [PROPOSAL] VACUUM Progress Checker.