summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
-rw-r--r--src/backend/access/gist/gistxlog.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/backend/access/gist/gistxlog.c b/src/backend/access/gist/gistxlog.c
index b732f53267..2999d21191 100644
--- a/src/backend/access/gist/gistxlog.c
+++ b/src/backend/access/gist/gistxlog.c
@@ -125,26 +125,6 @@ gistRedoPageUpdateRecord(XLogRecPtr lsn, XLogRecord *record)
off++;
}
}
- else
- {
- /*
- * special case: leafpage, nothing to insert, nothing to delete,
- * then vacuum marks page
- */
- if (GistPageIsLeaf(page) && xldata->ntodelete == 0)
- GistClearTuplesDeleted(page);
- }
-
- if (!GistPageIsLeaf(page) &&
- PageGetMaxOffsetNumber(page) == InvalidOffsetNumber &&
- xldata->blkno == GIST_ROOT_BLKNO)
- {
- /*
- * all links on non-leaf root page was deleted by vacuum full, so
- * root page becomes a leaf
- */
- GistPageSetLeaf(page);
- }
PageSetLSN(page, lsn);
MarkBufferDirty(buffer);