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 commitsf07d18b6e9
,82c83b3372
,3a3b309041
, and24c5f1a103
. 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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user