aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-05-04 17:32:22 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-05-04 17:32:22 -0300
commitc1543a81a7a89207b6c45b8f3f7f07b1148fcc6e (patch)
tree4a19f5b8572e10fee45f184f4b977acbad393bca /src/include
parent6535bf399894db3597d257486062fe17311c642e (diff)
downloadpostgresql-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/include')
-rw-r--r--src/include/access/xlogreader.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/include/access/xlogreader.h b/src/include/access/xlogreader.h
index 300747dbf76..deaa7f5128b 100644
--- a/src/include/access/xlogreader.h
+++ b/src/include/access/xlogreader.h
@@ -27,10 +27,6 @@
#include "access/xlogrecord.h"
-#ifndef FRONTEND
-#include "nodes/pg_list.h"
-#endif
-
typedef struct XLogReaderState XLogReaderState;
/* Function type definition for the read_page callback */
@@ -164,25 +160,11 @@ struct XLogReaderState
/* beginning of the WAL record being read. */
XLogRecPtr currRecPtr;
- /* timeline to read it from, 0 if a lookup is required */
- TimeLineID currTLI;
- /*
- * Safe point to read to in currTLI. If currTLI is historical, then this
- * is set to the end of the last whole segment that contains that TLI;
- * if currTLI is ThisTimeLineID, this is InvalidXLogRecPtr. This is *not*
- * the tliSwitchPoint.
- */
- XLogRecPtr currTLIValidUntil;
/* Buffer for current ReadRecord result (expandable) */
char *readRecordBuf;
uint32 readRecordBufSize;
-#ifndef FRONTEND
- /* cached timeline history, only available in backend */
- List *timelineHistory;
-#endif
-
/* Buffer to hold error message */
char *errormsg_buf;
};