From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Luca Ferrari <fluca1978@gmail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: when is pg_stat_archiver.stats_reset modified?
Date: Thu, 18 Feb 2021 13:06:50 +0100
Message-ID: <dc08dd17029b8f769f83e41be169fc4591fe70a2.camel@cybertec.at> (raw)
In-Reply-To: <CAKoxK+5t6DLcpEyh_c67zeG6t187qtd_2KJSV3+Gss7hZZjr6A@mail.gmail.com>
References: <CAKoxK+5t6DLcpEyh_c67zeG6t187qtd_2KJSV3+Gss7hZZjr6A@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: laurenz.albe@cybertec.at, fluca1978@gmail.com
Subject: Re: when is pg_stat_archiver.stats_reset modified?
In-Reply-To: <dc08dd17029b8f769f83e41be169fc4591fe70a2.camel@cybertec.at>
References: <CAKoxK+5t6DLcpEyh_c67zeG6t187qtd_2KJSV3+Gss7hZZjr6A@mail.gmail.com> <dc08dd17029b8f769f83e41be169fc4591fe70a2.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox