diff options
Diffstat (limited to 'src/backend/replication/walreceiver.c')
-rw-r--r-- | src/backend/replication/walreceiver.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/backend/replication/walreceiver.c b/src/backend/replication/walreceiver.c index 0996d6d5948..b4c7f0d22b6 100644 --- a/src/backend/replication/walreceiver.c +++ b/src/backend/replication/walreceiver.c @@ -52,10 +52,8 @@ #include "utils/resowner.h" #include "utils/timestamp.h" -/* Global variable to indicate if this process is a walreceiver process */ -bool am_walreceiver; -/* GUC variable */ +/* GUC variables */ int wal_receiver_status_interval; bool hot_standby_feedback; @@ -175,8 +173,6 @@ WalReceiverMain(void) /* use volatile pointer to prevent code rearrangement */ volatile WalRcvData *walrcv = WalRcv; - am_walreceiver = true; - /* * WalRcv should be set up already (if we are a backend, we inherit this * by fork() or EXEC_BACKEND mechanism from the postmaster). |