diff options
Diffstat (limited to 'src/include/replication')
-rw-r--r-- | src/include/replication/walsender_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/replication/walsender_private.h b/src/include/replication/walsender_private.h index e5e779aeb7..5310e054c4 100644 --- a/src/include/replication/walsender_private.h +++ b/src/include/replication/walsender_private.h @@ -13,6 +13,7 @@ #define _WALSENDER_PRIVATE_H #include "access/xlog.h" +#include "lib/ilist.h" #include "nodes/nodes.h" #include "replication/syncrep.h" #include "storage/latch.h" @@ -89,7 +90,7 @@ typedef struct * Synchronous replication queue with one queue per request type. * Protected by SyncRepLock. */ - SHM_QUEUE SyncRepQueue[NUM_SYNC_REP_WAIT_MODE]; + dlist_head SyncRepQueue[NUM_SYNC_REP_WAIT_MODE]; /* * Current location of the head of the queue. All waiters should have a |