Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
85e6e166
Commit
85e6e166
authored
Sep 03, 2011
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move AllowCascadeReplication() define from xlog.h to replication include
file. Per suggestion from Alvaro.
parent
ca598c18
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
src/include/access/xlog.h
src/include/access/xlog.h
+0
-3
src/include/replication/walreceiver.h
src/include/replication/walreceiver.h
+4
-0
src/include/replication/walsender.h
src/include/replication/walsender.h
+1
-0
No files found.
src/include/access/xlog.h
View file @
85e6e166
...
...
@@ -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
...
...
src/include/replication/walreceiver.h
View file @
85e6e166
...
...
@@ -12,6 +12,7 @@
#ifndef _WALRECEIVER_H
#define _WALRECEIVER_H
#include "access/xlog.h"
#include "access/xlogdefs.h"
#include "storage/spin.h"
#include "pgtime.h"
...
...
@@ -27,6 +28,9 @@ extern bool hot_standby_feedback;
*/
#define MAXCONNINFO 1024
/* Can we allow the standby to accept replication connection from another standby? */
#define AllowCascadeReplication() (EnableHotStandby && max_wal_senders > 0)
/*
* Values for WalRcv->walRcvState.
*/
...
...
src/include/replication/walsender.h
View file @
85e6e166
...
...
@@ -13,6 +13,7 @@
#define _WALSENDER_H
#include "access/xlog.h"
#include "fmgr.h"
#include "nodes/nodes.h"
#include "storage/latch.h"
#include "replication/syncrep.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment