pgstat: split out WAL handling from pgstat_{initialize,report_stat}.
authorAndres Freund <andres@anarazel.de>
Sat, 19 Mar 2022 18:35:37 +0000 (11:35 -0700)
committerAndres Freund <andres@anarazel.de>
Sat, 19 Mar 2022 18:42:22 +0000 (11:42 -0700)
commit78f9506b380f0cd3eb2229e2a49040ee00f102bb
treeef83145b516de177931a707dd6d2a84ed7f27cd2
parent89c546c2948904a2c811ccb26d92fb54edaf7821
pgstat: split out WAL handling from pgstat_{initialize,report_stat}.

A later commit will move the handling of the different kinds of stats into
separate files.  By splitting out WAL handling in this commit that later move
will just move code around without other changes.

Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de
src/backend/postmaster/pgstat.c