1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Revert timeline following in replication slots

This reverts commits f07d18b6e9, 82c83b3372, 3a3b309041, and
24c5f1a103.

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.
This commit is contained in:
Alvaro Herrera
2016-05-04 17:32:22 -03:00
parent 6535bf3998
commit c1543a81a7
17 changed files with 20 additions and 772 deletions

View File

@ -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);
}