aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xlog.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-09-03 20:46:19 -0400
committerBruce Momjian <bruce@momjian.us>2011-09-03 20:46:19 -0400
commit85e6e1662b2c475a408afc1ea2ddade7974eddbb (patch)
tree11c1e7509859d3c44203bceffb736a5127049038 /src/include/access/xlog.h
parentca598c18c678895fd625a68a4bf21d202c586b47 (diff)
downloadpostgresql-85e6e1662b2c475a408afc1ea2ddade7974eddbb.tar.gz
postgresql-85e6e1662b2c475a408afc1ea2ddade7974eddbb.zip
Move AllowCascadeReplication() define from xlog.h to replication include
file. Per suggestion from Alvaro.
Diffstat (limited to 'src/include/access/xlog.h')
-rw-r--r--src/include/access/xlog.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h
index 1fd60fb98d7..64f342ce594 100644
--- a/src/include/access/xlog.h
+++ b/src/include/access/xlog.h
@@ -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