| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: pgstat: split relation, database handling out of pgstat_report_s |
| Date: | 2022-03-19 18:45:17 |
| Message-ID: | E1nVe4j-000SIX-5b@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)anarazel(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Geoghegan | 2022-03-19 19:08:42 | Re: pgsql: pgstat: run pgindent on pgstat.c/h. |
| Previous Message | Alvaro Herrera | 2022-03-19 18:42:19 | Re: pgsql: Split ExecUpdate and ExecDelete into reusable pieces |