pgsql: Remove redundant call to pgstat_report_wal()
Started by Andres Freundalmost 4 years ago1 messagescomitters
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: /messages/by-id/CAAKRu_aaq33UnG4TXq3S-OSXGWj1QGf0sU+ECH4tNwGFNERkZA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1bdd54e662d58ed49448255a004b668b56bae100
Modified Files
--------------
src/backend/postmaster/walwriter.c | 11 -----------
1 file changed, 11 deletions(-)