Remove PgStat_BackendFunctionEntry
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/activity/pgstat.c | modified | +1 −1 |
| src/backend/utils/activity/pgstat_function.c | modified | +10 −10 |
| src/backend/utils/adt/pgstatfuncs.c | modified | +6 −6 |
| src/include/pgstat.h | modified | +1 −10 |
| src/tools/pgindent/typedefs.list | modified | +0 −1 |
Discussion
- Get rid of PgStat_BackendFunctionEntry 4 messages · 2023-02-13 → 2023-03-16