mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
Move AllowCascadeReplication() define from xlog.h to replication include
file. Per suggestion from Alvaro.
This commit is contained in:
@ -221,9 +221,6 @@ extern int wal_level;
|
||||
/* Do we need to WAL-log information required only for Hot Standby? */
|
||||
#define XLogStandbyInfoActive() (wal_level >= WAL_LEVEL_HOT_STANDBY)
|
||||
|
||||
/* Can we allow the standby to accept replication connection from another standby? */
|
||||
#define AllowCascadeReplication() (EnableHotStandby && max_wal_senders > 0)
|
||||
|
||||
#ifdef WAL_DEBUG
|
||||
extern bool XLOG_DEBUG;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user