Re: when is pg_stat_archiver.stats_reset modified?

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Luca Ferrari <fluca1978(at)gmail(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: when is pg_stat_archiver.stats_reset modified?
Date: 2021-02-18 12:06:50
Message-ID: dc08dd17029b8f769f83e41be169fc4591fe70a2.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2021-02-18 at 12:20 +0100, Luca Ferrari wrote:
> running on 12.5, but I guess this does not mind, I cannot understand
> when the value of pg_stat_archiver.stats_reset field is modified.
> I've executed a pg_stat_reset() but it did not affected the specified field.
> I suppose that field is not "resettable" by the administrator, as I
> tried to, but then what drives changes?

SELECT pg_stat_reset_shared('archiver');

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2021-02-18 12:10:53 Re: permanent setting of config variables
Previous Message Ian Lawrence Barwick 2021-02-18 11:57:26 Re: when is pg_stat_archiver.stats_reset modified?