pgstat: move transactional code into pgstat_xact.c. The transactional integration code is largely independent from the rest of pgstat.c. Subsequent commits will add more related code. Author: Andres Freund <andres@anarazel.de> Reviewed-By: Thomas Munro <thomas.munro@gmail.com> Discussion: https://postgr.es/m/20220404041516.cctrvpadhuriawlq@alap3.anarazel.de Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/ab62a642d52c95c0c62e927ba1bf3cfa279b744b Modified Files -------------- src/backend/postmaster/pgstat.c | 184 +++++-------------------------- src/backend/utils/activity/Makefile | 3 +- src/backend/utils/activity/pgstat_xact.c | 139 +++++++++++++++++++++++ src/include/pgstat.h | 18 +-- src/include/utils/pgstat_internal.h | 8 +- 5 files changed, 189 insertions(+), 163 deletions(-)
Соглашаюсь с условиями обработки персональных данных