From aa29c1ccd9f785f9365809f5133e5491acc7ae53 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sat, 26 Sep 2015 19:04:25 +0200 Subject: Remove legacy multixact truncation support. In 9.5 and master there is no need to support legacy truncation. This is just committed separately to make it easier to backpatch the WAL logged multixact truncation to 9.3 and 9.4 if we later decide to do so. I bumped master's magic from 0xD086 to 0xD088 and 9.5's from 0xD085 to 0xD087 to avoid 9.5 reusing a value that has been in use on master while keeping the numbers increasing between major versions. Discussion: 20150621192409.GA4797@alap3.anarazel.de Backpatch: 9.5 --- src/backend/access/transam/xlog.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/backend/access/transam/xlog.c') diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 1ac1c0550dd..22e6a214144 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -9233,10 +9233,6 @@ xlog_redo(XLogReaderState *record) MultiXactSetNextMXact(checkPoint.nextMulti, checkPoint.nextMultiOffset); - /* - * NB: This may perform multixact truncation when replaying WAL - * generated by an older primary. - */ MultiXactAdvanceOldest(checkPoint.oldestMulti, checkPoint.oldestMultiDB); SetTransactionIdLimit(checkPoint.oldestXid, checkPoint.oldestXidDB); -- cgit v1.2.3