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

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pgstat: Split out relation stats handling from AtEO[Sub]Xact_PgS
Date: 2021-09-20 20:56:51
Message-ID: E1mSQLL-0006kc-0u@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)anarazel(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2021-09-20 21:22:25 pgsql: pgstat: Prepare to use mechanism for truncated rels also for dro
Previous Message Tom Lane 2021-09-20 15:49:30 pgsql: Don't elide casting to typmod -1.