postgres.git / summary / log / commit / refs
commit 1429d3f767a05e7a4819f55c5b3ff768862dcf78
Author: Fujii Masao <fujii@postgresql.org>
Date: Tue Mar 17 03:06:22 2020 +0000
First released in: 13.0
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;
[parent: 41b45576d532]