summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/replication/walsender_private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/replication/walsender_private.h b/src/include/replication/walsender_private.h
index cc351d6f673..88677506f34 100644
--- a/src/include/replication/walsender_private.h
+++ b/src/include/replication/walsender_private.h
@@ -51,10 +51,10 @@ typedef struct WalSnd
slock_t mutex;
/*
- * Latch used by backends to wake up this walsender when it has work to
- * do.
+ * Pointer to the walsender's latch. Used by backends to wake up this
+ * walsender when it has work to do. NULL if the walsender isn't active.
*/
- Latch latch;
+ Latch *latch;
/*
* The priority order of the standby managed by this WALSender, as listed