Re: pg_stat_progress_cluster: do not default to CLUSTER

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

Re: pg_stat_progress_cluster: do not default to CLUSTER

От:
Fujii Masao <masao.fujii@gmail.com>
Дата:
On Thu, Sep 3, 2026 at 7:39 PM Zsolt Parragi  wrote:
> The attached patch fixes this to report NULL instead.

Thanks for the patch! It looks good to me. So, barring any objections,
I'll commit it.

BTW, as a separate issue, is the following also problematic?

    WHEN command = 'REPACK' AND repack_index_relid = 0 THEN 'VACUUM FULL'

REPACK ... USING INDEX ... should basically be displayed as "CLUSTER".
But, if an index scan is not used (for example, when
enable_indexscan is disabled), repack_index_relid can be 0, causing
it to be displayed as "VACUUM FULL" unexpectedly. Thoughts?

Regards,

-- 
Fujii Masao


Re: pg_stat_progress_cluster: do not default to CLUSTER

От:
Zsolt Parragi <zsolt.parragi@percona.com>
Дата:
Yes, this is also a good catch/improvement, looks good to me.


FAQ