diff options
author | Heikki Linnakangas | 2024-10-05 12:09:27 +0000 |
---|---|---|
committer | Heikki Linnakangas | 2024-10-05 12:09:27 +0000 |
commit | 6c0c49f7d37dc29775947ac6edbc494c32f43fa6 (patch) | |
tree | b2dbfcdfbe548c9514cb86990aa0f6a2bf327356 /src/include/replication | |
parent | adbb27ac89e07cfbd94ea07a53930addfc3895ee (diff) |
Remove unused latch
It was left unused by commit bc971f4025, which replaced the latch
usage with a condition variable
Discussion: https://www.postgresql.org/message-id/391abe21-413e-4d91-a650-b663af49500c@iki.fi
Diffstat (limited to 'src/include/replication')
-rw-r--r-- | src/include/replication/walsender_private.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/include/replication/walsender_private.h b/src/include/replication/walsender_private.h index cf32ac2488a..41ac736b953 100644 --- a/src/include/replication/walsender_private.h +++ b/src/include/replication/walsender_private.h @@ -18,7 +18,6 @@ #include "nodes/replnodes.h" #include "replication/syncrep.h" #include "storage/condition_variable.h" -#include "storage/latch.h" #include "storage/shmem.h" #include "storage/spin.h" @@ -72,12 +71,6 @@ typedef struct WalSnd slock_t mutex; /* - * 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; - - /* * Timestamp of the last message received from standby. */ TimestampTz replyTime; |