From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove redundant call to pgstat_report_wal()
Date: Tue, 23 Aug 2022 03:30:52 +0000
Message-ID: <E1oQKct-000mqO-Ox@gemulon.postgresql.org> (raw)
Remove redundant call to pgstat_report_wal()
pgstat_report_stat() will be called before shutdown so an explicit call to
pgstat_report_wal() just before shutdown is redundant.
This likely was not redundant before 5891c7a8ed8, but now it clearly is.
Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/CAAKRu_aaq33UnG4TXq3S-OSXGWj1QGf0sU%2BECH4tNwGFNERkZA%40mail.g...
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1bdd54e662d58ed49448255a004b668b56bae100
Modified Files
--------------
src/backend/postmaster/walwriter.c | 11 -----------
1 file changed, 11 deletions(-)
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-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: Remove redundant call to pgstat_report_wal()
In-Reply-To: <E1oQKct-000mqO-Ox@gemulon.postgresql.org>
References: <E1oQKct-000mqO-Ox@gemulon.postgresql.org>
* 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