summaryrefslogtreecommitdiff
path: root/src/include/replication/syncrep.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/replication/syncrep.h')
-rw-r--r--src/include/replication/syncrep.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/include/replication/syncrep.h b/src/include/replication/syncrep.h
index d71047e147..65b725f767 100644
--- a/src/include/replication/syncrep.h
+++ b/src/include/replication/syncrep.h
@@ -13,15 +13,8 @@
#ifndef _SYNCREP_H
#define _SYNCREP_H
-#include "access/xlog.h"
-#include "storage/proc.h"
-#include "storage/shmem.h"
-#include "storage/spin.h"
#include "utils/guc.h"
-#define SyncRepRequested() \
- (max_wal_senders > 0 && synchronous_commit > SYNCHRONOUS_COMMIT_LOCAL_FLUSH)
-
/* syncRepState */
#define SYNC_REP_NOT_WAITING 0
#define SYNC_REP_WAITING 1
@@ -45,6 +38,7 @@ extern void SyncRepUpdateSyncStandbysDefined(void);
/* called by various procs */
extern int SyncRepWakeQueue(bool all);
+
extern bool check_synchronous_standby_names(char **newval, void **extra, GucSource source);
#endif /* _SYNCREP_H */