Skip to content

Commit 49e525a

Browse files
committed
Fix comment in walsender_private.h
All the members of the stucture are protected by the spinlock WalSnd, but a comment referred to "replyTime" and "latch" as not being in the set of what gets protected, contrary to what walsender.c does. Author: Bharath Rupireddy Discussion: https://postgr.es/m/CALj2ACWE_7srye4_GZ=N=-rD=qr2WHL9GZrMnhWJOJ5RdnNS2A@mail.gmail.com
1 parent 585d0cd commit 49e525a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/replication/walsender_private.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ typedef struct WalSnd
6565
*/
6666
int sync_standby_priority;
6767

68-
/* Protects shared variables shown above. */
68+
/* Protects shared variables in this structure. */
6969
slock_t mutex;
7070

7171
/*

0 commit comments

Comments
 (0)