Remove redundant call to pgstat_report_wal()
Andres Freund <andres@anarazel.de>
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.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/walwriter.c | modified | +0 −11 |
Discussion
- pg_stat_bgwriter.buffers_backend is pretty meaningless (and more?) 173 messages · 2020-01-24 → 2023-04-25