diff options
author | Andres Freund <andres@anarazel.de> | 2017-06-05 18:53:41 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2017-06-05 19:18:15 -0700 |
commit | 703f148e98ecb4b299fdad403fc5a1de51220714 (patch) | |
tree | 6f6d70af2a15f51949990235b5dbf97ff7e1c38a /src/include | |
parent | 41a21bf9b4a2449eddc8ea2b29597e835eea9bfd (diff) | |
download | postgresql-703f148e98ecb4b299fdad403fc5a1de51220714.tar.gz postgresql-703f148e98ecb4b299fdad403fc5a1de51220714.zip |
Revert "Prevent panic during shutdown checkpoint"
This reverts commit 086221cf6b1727c2baed4703c582f657b7c5350e, which
was made to master only.
The approach implemented in the above commit has some issues. While
those could easily be fixed incrementally, doing so would make
backpatching considerably harder, so instead first revert this patch.
Discussion: https://postgr.es/m/20170602002912.tqlwn4gymzlxpvs2@alap3.anarazel.de
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/replication/walsender.h | 1 | ||||
-rw-r--r-- | src/include/replication/walsender_private.h | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/include/replication/walsender.h b/src/include/replication/walsender.h index 99f12377e02..2ca903872e4 100644 --- a/src/include/replication/walsender.h +++ b/src/include/replication/walsender.h @@ -44,7 +44,6 @@ extern void WalSndSignals(void); extern Size WalSndShmemSize(void); extern void WalSndShmemInit(void); extern void WalSndWakeup(void); -extern void WalSndWaitStopping(void); extern void WalSndRqstFileReload(void); /* diff --git a/src/include/replication/walsender_private.h b/src/include/replication/walsender_private.h index 36311e124c4..2c59056cefd 100644 --- a/src/include/replication/walsender_private.h +++ b/src/include/replication/walsender_private.h @@ -24,8 +24,7 @@ typedef enum WalSndState WALSNDSTATE_STARTUP = 0, WALSNDSTATE_BACKUP, WALSNDSTATE_CATCHUP, - WALSNDSTATE_STREAMING, - WALSNDSTATE_STOPPING + WALSNDSTATE_STREAMING } WalSndState; /* |