| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Remove redundant call to pgstat_report_wal() |
| Date: | 2022-08-23 03:30:52 |
| Message-ID: | E1oQKct-000mqO-Ox@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)gmail(dot)com>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://www.postgresql.org/message-id/CAAKRu_aaq33UnG4TXq3S-OSXGWj1QGf0sU%2BECH4tNwGFNERkZA%40mail.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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2022-08-23 03:41:56 | pgsql: Don't define FRONTEND for libpq |
| Previous Message | Andres Freund | 2022-08-23 03:20:16 | pgsql: pgstat: Acquire lock when reading variable-numbered stats |