pgsql: pgstat: Split out relation stats handling from AtEO[Sub]Xact_PgS

Started by Andres Freundalmost 5 years ago1 messagescomitters
Jump to latest
#1Andres Freund
andres@anarazel.de

pgstat: Split out relation stats handling from AtEO[Sub]Xact_PgStat() etc.

An upcoming patch will add additional work to these functions. To avoid the
functions getting too complicated / doing too many things at once, split out
sub-tasks into their own functions.

Author: Andres Freund <andres@anarazel.de>
Discussion: /messages/by-id/20210405092914.mmxqe7j56lsjfsej@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e1f958d759ff71a264973d13e9bc86c7db822928

Modified Files
--------------
src/backend/postmaster/pgstat.c | 383 ++++++++++++++++++++++------------------
1 file changed, 215 insertions(+), 168 deletions(-)