pgsql: pgstat: Split out relation stats handling from AtEO[Sub]Xact_PgS - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: pgstat: Split out relation stats handling from AtEO[Sub]Xact_PgS
Date
Msg-id E1mSQLL-0006kc-0u@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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: https://postgr.es/m/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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Don't elide casting to typmod -1.
Next
From: Andres Freund
Date:
Subject: pgsql: pgstat: Prepare to use mechanism for truncated rels also for dro