pgsql: pgstat: split out WAL handling from pgstat_{initialize,report_st - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: pgstat: split out WAL handling from pgstat_{initialize,report_st
Date
Msg-id E1nVe4j-000SIZ-67@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/78f9506b380f0cd3eb2229e2a49040ee00f102bb

Modified Files
--------------
src/backend/postmaster/pgstat.c | 44 ++++++++++++++++++++++++++++-------------
1 file changed, 30 insertions(+), 14 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Split ExecUpdate and ExecDelete into reusable pieces
Next
From: Peter Geoghegan
Date:
Subject: Re: pgsql: pgstat: run pgindent on pgstat.c/h.