From 1429d3f767a05e7a4819f55c5b3ff768862dcf78 Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Tue, 17 Mar 2020 12:06:22 +0900 Subject: [PATCH] Fix comment in xlog.c. This commit fixes the comment about SharedHotStandbyActive variable. The comment was apparently copy-and-pasted. Author: Atsushi Torikoshi Discussion: https://postgr.es/m/CACZ0uYEjpqZB9wN2Rwc_RMvDybyYqdbkPuDr1NyxJg4f9yGfMw@mail.gmail.com --- src/backend/access/transam/xlog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 4fa446ffa42..de2d4ee5829 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -649,8 +649,8 @@ typedef struct XLogCtlData bool SharedRecoveryInProgress; /* - * SharedHotStandbyActive indicates if we're still in crash or archive - * recovery. Protected by info_lck. + * SharedHotStandbyActive indicates if we allow hot standby queries to be + * run. Protected by info_lck. */ bool SharedHotStandbyActive; -- 2.39.5