Re: index items for pg_stat_progress_xxx views

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Shinya11(dot)Kato(at)nttdata(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: index items for pg_stat_progress_xxx views
Date: 2020-11-30 06:11:58
Message-ID: 5ec0801a-ed9b-630c-cad7-513049b708a3@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 2020/11/30 10:57, Shinya11(dot)Kato(at)nttdata(dot)com wrote:
>> Hi,
>>
>> The index items for pg_stat_progress_xxx views point to the "Viewing
>> Statistics" section, but not to the dedicated section (e.g., "ANALYZE
>> Progress
>> Reporting") for each view. IMO this is very inconvenient when finding
>> the section describing each pg_stat_progress_xxx view, from the index.
>> So what about adding new pointer to the section for each view in the index?
>> Patch attached.
>>
>> BTW, other stats views have both pointers in the index.
>
> When setting an <indexterm>, it's better to set the zone attribute to indicate which section it's associated with.
>
> For example,
> <indexterm zone="analyze-progress-reporting">
> <primary>pg_stat_progress_analyze</primary>
> </indexterm>

Thanks for the review!

I was thinking that the zone attribute doesn't need to be specified
because the indexterm is defined under the section that the indexterm
tries to point to. You can see the same situation at, for example,
the section and indexterm of pg_stat_database. If I'm missing something,
could you tell me why the zone attribute is necessary in this case?

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Michael Paquier 2020-11-30 07:31:28 Re: doc: index items for pg_stat_progress_xxx views
Previous Message Shinya11.Kato 2020-11-30 01:57:34 RE: index items for pg_stat_progress_xxx views