File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -221,9 +221,6 @@ extern int wal_level;
221
221
/* Do we need to WAL-log information required only for Hot Standby? */
222
222
#define XLogStandbyInfoActive () (wal_level >= WAL_LEVEL_HOT_STANDBY)
223
223
224
- /* Can we allow the standby to accept replication connection from another standby? */
225
- #define AllowCascadeReplication () (EnableHotStandby && max_wal_senders > 0)
226
-
227
224
#ifdef WAL_DEBUG
228
225
extern bool XLOG_DEBUG ;
229
226
#endif
Original file line number Diff line number Diff line change 12
12
#ifndef _WALRECEIVER_H
13
13
#define _WALRECEIVER_H
14
14
15
+ #include "access/xlog.h"
15
16
#include "access/xlogdefs.h"
16
17
#include "storage/spin.h"
17
18
#include "pgtime.h"
@@ -27,6 +28,9 @@ extern bool hot_standby_feedback;
27
28
*/
28
29
#define MAXCONNINFO 1024
29
30
31
+ /* Can we allow the standby to accept replication connection from another standby? */
32
+ #define AllowCascadeReplication () (EnableHotStandby && max_wal_senders > 0)
33
+
30
34
/*
31
35
* Values for WalRcv->walRcvState.
32
36
*/
Original file line number Diff line number Diff line change 13
13
#define _WALSENDER_H
14
14
15
15
#include "access/xlog.h"
16
+ #include "fmgr.h"
16
17
#include "nodes/nodes.h"
17
18
#include "storage/latch.h"
18
19
#include "replication/syncrep.h"
You can’t perform that action at this time.
0 commit comments