Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix comment in xlog.c.
authorFujii Masao <fujii@postgresql.org>
Tue, 17 Mar 2020 03:06:22 +0000 (12:06 +0900)
committerFujii Masao <fujii@postgresql.org>
Tue, 17 Mar 2020 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

src/backend/access/transam/xlog.c

index 4fa446ffa42d3de3f2ba70ba9b44e5fa8514d766..de2d4ee5829e3ef8275eb394bafe9c73e4c939a7 100644 (file)
@@ -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;