pgsql: pgstat: split relation, database handling out of pgstat_report_s - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: pgstat: split relation, database handling out of pgstat_report_s
Date
Msg-id E1nVe4j-000SIX-5b@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
pgstat: split relation, database handling out of pgstat_report_stat().

pgstat_report_stat() handles several types of stats, yet relation stats have
so far been handled directly in pgstat_report_stat().

A later commit will move the handling of the different kinds of stats into
separate files.  By splitting out relation 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/89c546c2948904a2c811ccb26d92fb54edaf7821

Modified Files
--------------
src/backend/postmaster/pgstat.c | 79 +++++++++++++++++++++++++++++------------
1 file changed, 56 insertions(+), 23 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.