Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1429d3f

Browse files
committed
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
1 parent 41b4557 commit 1429d3f

File tree

1 file changed

+2
-2
lines changed
  • src/backend/access/transam

1 file changed

+2
-2
lines changed

src/backend/access/transam/xlog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,8 @@ typedef struct XLogCtlData
649649
bool SharedRecoveryInProgress;
650650

651651
/*
652-
* SharedHotStandbyActive indicates if we're still in crash or archive
653-
* recovery. Protected by info_lck.
652+
* SharedHotStandbyActive indicates if we allow hot standby queries to be
653+
* run. Protected by info_lck.
654654
*/
655655
bool SharedHotStandbyActive;
656656

0 commit comments

Comments
 (0)