From 681792783b8ce795f1510b6fd2f26139196d6b25 Mon Sep 17 00:00:00 2001 From: Melanie Plageman Date: Wed, 24 Nov 2021 12:21:08 -0500 Subject: [PATCH v21 8/8] small comment correction Naming callers in function comment is brittle and unnecessary. --- src/backend/utils/activity/backend_status.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/backend/utils/activity/backend_status.c b/src/backend/utils/activity/backend_status.c index c579014ec2..9861ae24ba 100644 --- a/src/backend/utils/activity/backend_status.c +++ b/src/backend/utils/activity/backend_status.c @@ -259,11 +259,11 @@ GetIOPathDesc(IOPath io_path) } /* - * Initialize pgstats backend activity state, and set up our on-proc-exit - * hook. Called from InitPostgres and AuxiliaryProcessMain. For auxiliary - * process, MyBackendId is invalid. Otherwise, MyBackendId must be set, but we - * must not have started any transaction yet (since the exit hook must run - * after the last transaction exit). + * Initialize pgstats backend activity state, and set up our on-proc-exit hook. + * + * For auxiliary process, MyBackendId is invalid. Otherwise, MyBackendId must + * be set, but we must not have started any transaction yet (since the exit + * hook must run after the last transaction exit). * * NOTE: MyDatabaseId isn't set yet; so the shutdown hook has to be careful. */ @@ -301,7 +301,6 @@ pgstat_beinit(void) * pgstat_bestart() - * * Initialize this backend's entry in the PgBackendStatus array. - * Called from InitPostgres. * * Apart from auxiliary processes, MyBackendId, MyDatabaseId, * session userid, and application_name must be set for a -- 2.32.0