Re: when is pg_stat_archiver.stats_reset modified? - Mailing list pgsql-general

From Laurenz Albe
Subject Re: when is pg_stat_archiver.stats_reset modified?
Date
Msg-id dc08dd17029b8f769f83e41be169fc4591fe70a2.camel@cybertec.at
Whole thread Raw
In response to when is pg_stat_archiver.stats_reset modified?  (Luca Ferrari <fluca1978@gmail.com>)
List 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




pgsql-general by date:

Previous
From: Ian Lawrence Barwick
Date:
Subject: Re: when is pg_stat_archiver.stats_reset modified?
Next
From: Laurenz Albe
Date:
Subject: Re: permanent setting of config variables