Re: Add new option 'all' to pg_stat_reset_shared()

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: torikoshia(at)oss(dot)nttdata(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Add new option 'all' to pg_stat_reset_shared()
Date: 2023-10-30 08:17:13
Message-ID: 20231030.171713.274529745163206826.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Mon, 30 Oct 2023 16:35:19 +0900, torikoshia <torikoshia(at)oss(dot)nttdata(dot)com> wrote in
> Hi,
>
> After 96f052613f3, we have below 6 types of parameter for
> pg_stat_reset_shared().
>
> "archiver", "bgwriter", "checkpointer", "io", "recovery_prefetch",
> "wal"
>
> How about adding a new option 'all' to delete all targets above?
>
> I imagine there are cases where people want to initialize all of them
> at the same time in addition to initializing one at a time.

FWIW, I fairly often wanted it, but forgot about that:p

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2023-10-30 08:45:53 Re: Add new option 'all' to pg_stat_reset_shared()
Previous Message Kyotaro Horiguchi 2023-10-30 08:12:15 Re: A recent message added to pg_upgade