static pg_noinline void Size size
TimeLineID findNewestTimeLine(TimeLineID startTLI)
void writeTimeLineHistoryFile(TimeLineID tli, char *content, int size)
TimeLineID tliOfPointInHistory(XLogRecPtr ptr, List *history)
XLogRecPtr tliSwitchPoint(TimeLineID tli, List *history, TimeLineID *nextTLI)
bool existsTimeLineHistory(TimeLineID probeTLI)
void restoreTimeLineHistoryFiles(TimeLineID begin, TimeLineID end)
void writeTimeLineHistory(TimeLineID newTLI, TimeLineID parentTLI, XLogRecPtr switchpoint, char *reason)
List * readTimeLineHistory(TimeLineID targetTLI)
bool tliInHistory(TimeLineID tli, List *expectedTLEs)
static List * expectedTLEs