pgsql: Remove pgstat_flush_wal() - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Remove pgstat_flush_wal()
Date
Msg-id E1tnB3H-0008XK-2s@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove pgstat_flush_wal()

All the processes that generate WAL should call pgstat_report_wal() to
report all their statistics related to WAL, and this is already what
happens in the tree.  Keeping pgstat_report_wal() is confusing while the
other routine is encouraged.

This routine is not required since fc415edf8ca8, where it was lastly
used in pgstat_report_stat() before an equivalent callback existed.

Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://postgr.es/m/Z71oPkJJICrRB5Ws@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d7cbeaf261da346d8c745870da1d31075ae0313c

Modified Files
--------------
src/backend/utils/activity/pgstat_wal.c | 11 +----------
src/include/utils/pgstat_internal.h     |  2 --
2 files changed, 1 insertion(+), 12 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Add two-phase option in pg_createsubscriber.
Next
From: Michael Paquier
Date:
Subject: pgsql: Adding new PgStat_WalCounters structure in pgstat.h