Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lCi5H-0006z3-SM for pgsql-general@arkaria.postgresql.org; Thu, 18 Feb 2021 12:07:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lCi5G-0004IM-Am for pgsql-general@arkaria.postgresql.org; Thu, 18 Feb 2021 12:07:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lCi5F-0004Gk-WA for pgsql-general@lists.postgresql.org; Thu, 18 Feb 2021 12:07:02 +0000 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lCi57-0000bf-IC for pgsql-general@lists.postgresql.org; Thu, 18 Feb 2021 12:06:59 +0000 Received: by mail-ej1-x62b.google.com with SMTP id ly28so4944035ejb.13 for ; Thu, 18 Feb 2021 04:06:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=17Kqu6RtTa7YJ9KNvKiQm9eZEgi372b0cWxEuHhd2Po=; b=cW+0zeEdBb/Df5cmOfciZgHUXjd4CmcBqetNiwZRIMFxcK1oaFDf3njPFHfIMVveMp cVXiE1suLxTZhk0AcoIWyAJXqQX9EMsqa8wL197RB6wxXBfGzkLewhlI/e8nHM8b7m7X kIKtGtHAFTXXfDN88KoUbTmQQaf7iIowFhgKW9NDsxOariFksBrtZ2xZgwbBbxFtalRZ a6FEgktQx9bHDKPJ7MqNzckpRSI3X8Erj4PuQJlL7N4FFlvlLsaa4aKN1EPnDEk0rcrS 1wet0Fu7nZuYkDVHF1eAACxPTy0331XQkEwqcBxMu6q+9uOLbHXRg2DbIHeXzgPdppt8 cP3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=17Kqu6RtTa7YJ9KNvKiQm9eZEgi372b0cWxEuHhd2Po=; b=VOnKJFxau9qQp+yTPeMljVGlqsuSyf4m/QmlPzlWwmbSxeSrJMf/0YWRvNVFNXIlr2 /roUV57x5+VRpQImSnhRXoBGBN154hRfNwLKrgAgDe8+e7vDD6GF8wDPVty2s7yGU7y/ EDKv9gpmKif7Y5+hj85++S+VYxPleBL4DUSHK62igv7uq0Vz5ACIkIjEH51PD6zDhUnT Afw61nHQry61oSQmDK9V9JlEZoejnJjAYJvgifBdDFmGqXEGgfaGMkXeWysye1Ostc3I C/jOrtuS6wD5DDWDpVkyDhA8cjIwpeXou8GrS/ma7oq1dnTsTKDRzX+gAXxcXMj/+r4L 5XKQ== X-Gm-Message-State: AOAM532Pa5NZvf8kddUG3uZtEwhtErfu3ScpkgK/uvWUEqd4ZHSTBDG1 r3b+s762nhN/ejlIMoS7CXcsKw== X-Google-Smtp-Source: ABdhPJwO5FAvp0teJEnf+4i/p2+LXry5QB66Zq/q1aHH7G8npmL5RO3H1tzYuHYApIfQbDrEkp2zGA== X-Received: by 2002:a17:906:c010:: with SMTP id e16mr3638526ejz.91.1613650011456; Thu, 18 Feb 2021 04:06:51 -0800 (PST) Received: from localhost.localdomain (217-149-172-130.nat.highway.telekom.at. [217.149.172.130]) by smtp.gmail.com with ESMTPSA id n2sm2589358ejl.1.2021.02.18.04.06.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 04:06:51 -0800 (PST) Message-ID: Subject: Re: when is pg_stat_archiver.stats_reset modified? From: Laurenz Albe To: Luca Ferrari , pgsql-general Date: Thu, 18 Feb 2021 13:06:50 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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