pgsql: Remove PgStat_BackendFunctionEntry

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove PgStat_BackendFunctionEntry
Date: 2023-03-16 05:23:19
Message-ID: E1pcg59-003lyx-Fs@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove PgStat_BackendFunctionEntry

This structure included only PgStat_FunctionCounts, and removing it
facilitates some upcoming refactoring for pgstatfuncs.c to use more
macros rather that mostly-duplicated functions.

Author: Bertrand Drouvot
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/11d531fe-52fc-c6ea-7e8e-62f1b6ec626e@gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/utils/activity/pgstat.c | 2 +-
src/backend/utils/activity/pgstat_function.c | 20 ++++++++++----------
src/backend/utils/adt/pgstatfuncs.c | 12 ++++++------
src/include/pgstat.h | 11 +----------
src/tools/pgindent/typedefs.list | 1 -
5 files changed, 18 insertions(+), 28 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-03-16 07:04:42 pgsql: pkg-config Requires.private entries should be comma-separated
Previous Message Michael Paquier 2023-03-16 04:32:09 pgsql: Tweak regression test of pg_walinspect to be less collation-sens