diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2016-05-04 17:32:22 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2016-05-04 17:32:22 -0300 |
commit | c1543a81a7a89207b6c45b8f3f7f07b1148fcc6e (patch) | |
tree | 4a19f5b8572e10fee45f184f4b977acbad393bca /src/backend/access/transam/xlogreader.c | |
parent | 6535bf399894db3597d257486062fe17311c642e (diff) | |
download | postgresql-c1543a81a7a89207b6c45b8f3f7f07b1148fcc6e.tar.gz postgresql-c1543a81a7a89207b6c45b8f3f7f07b1148fcc6e.zip |
Revert timeline following in replication slots
This reverts commits f07d18b6e94d, 82c83b337202, 3a3b309041b0, and
24c5f1a103ce.
This feature has shown enough immaturity that it was deemed better to
rip it out before rushing some more fixes at the last minute. There are
discussions on larger changes in this area for the next release.
Diffstat (limited to 'src/backend/access/transam/xlogreader.c')
-rw-r--r-- | src/backend/access/transam/xlogreader.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c index c5a964ad8ba..c3aecc75746 100644 --- a/src/backend/access/transam/xlogreader.c +++ b/src/backend/access/transam/xlogreader.c @@ -118,11 +118,6 @@ XLogReaderAllocate(XLogPageReadCB pagereadfunc, void *private_data) return NULL; } -#ifndef FRONTEND - /* Will be loaded on first read */ - state->timelineHistory = NIL; -#endif - return state; } @@ -142,10 +137,6 @@ XLogReaderFree(XLogReaderState *state) pfree(state->errormsg_buf); if (state->readRecordBuf) pfree(state->readRecordBuf); -#ifndef FRONTEND - if (state->timelineHistory) - list_free_deep(state->timelineHistory); -#endif pfree(state->readBuf); pfree(state); } |