diff options
author | Michael Paquier | 2022-08-22 01:02:53 +0000 |
---|---|---|
committer | Michael Paquier | 2022-08-22 01:02:53 +0000 |
commit | 49e525a08fcb42c05dc27bd0bc36aa491becc55f (patch) | |
tree | ebdda83b8977210af28934d962ffbcc153e1f426 | |
parent | 585d0cd944d952f08f7649d02f1d6b6644e93611 (diff) |
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
-rw-r--r-- | src/include/replication/walsender_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/replication/walsender_private.h b/src/include/replication/walsender_private.h index c14888e493..9c61f92c44 100644 --- a/src/include/replication/walsender_private.h +++ b/src/include/replication/walsender_private.h @@ -65,7 +65,7 @@ typedef struct WalSnd */ int sync_standby_priority; - /* Protects shared variables shown above. */ + /* Protects shared variables in this structure. */ slock_t mutex; /* |