Add new option 'all' to pg_stat_reset_shared()

From: torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Add new option 'all' to pg_stat_reset_shared()
Date: 2023-10-30 07:35:19
Message-ID: 4291a55137ddda77cf7cc5f46e846daf@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Regards,

--
Atsushi Torikoshi
NTT DATA Group Corporation

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2023-10-30 07:40:45 Re: A recent message added to pg_upgade
Previous Message Pavel Borisov 2023-10-30 07:29:04 Re: [PATCH] Improve amcheck to also check UNIQUE constraint in btree index.