git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 41b4557)
Fix comment in xlog.c.
2020年3月17日 03:06:22 +0000 (12:06 +0900)
2020年3月17日 03:06:22 +0000 (12:06 +0900)
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


diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 4fa446ffa42d3de3f2ba70ba9b44e5fa8514d766..de2d4ee5829e3ef8275eb394bafe9c73e4c939a7 100644 (file)
--- 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;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /