Remove pgstat_flush_wal()
authorMichael Paquier <[email protected]>
Wed, 26 Feb 2025 06:29:51 +0000 (15:29 +0900)
committerMichael Paquier <[email protected]>
Wed, 26 Feb 2025 06:37:28 +0000 (15:37 +0900)
commitd7cbeaf261da346d8c745870da1d31075ae0313c
tree7ce92606d4061c3255f9365731000ffc9175a8d2
parente117cfb2f6c67fe4ba46720bc6917da3dbd48c10
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 <[email protected]>
Discussion: https://postgr.es/m/[email protected]
src/backend/utils/activity/pgstat_wal.c
src/include/utils/pgstat_internal.h