aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2015-09-26 19:04:25 +0200
committerAndres Freund <andres@anarazel.de>2015-09-26 19:04:25 +0200
commitaa29c1ccd9f785f9365809f5133e5491acc7ae53 (patch)
tree61bcea08e4f4c760b418dbdaf4bb8a3ecdaeb566 /src/backend/access/transam/xlog.c
parent4f627f897367f15702d59973f75f6391d5d3e06f (diff)
downloadpostgresql-aa29c1ccd9f785f9365809f5133e5491acc7ae53.tar.gz
postgresql-aa29c1ccd9f785f9365809f5133e5491acc7ae53.zip
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
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c4
1 files changed, 0 insertions, 4 deletions
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);