From 4c8495a1f2ae7a027a4b3e8fdb2aa5b21a5be1fc Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 6 Jun 2005 17:01:25 +0000 Subject: Remove the mostly-stubbed-out-anyway support routines for WAL UNDO. That code is never going to be used in the foreseeable future, and where it's more than a stub it's making the redo routines harder to read. --- src/backend/access/transam/xlog.c | 9 ++------- 1 file changed, 2 insertions(+), 7 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 27f6354987d..c1609356d39 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.195 2005/06/02 05:55:28 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.196 2005/06/06 17:01:23 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -2372,7 +2372,7 @@ RestoreBkpBlocks(XLogRecord *record, XLogRecPtr lsn) memcpy(&bkpb, blk, sizeof(BkpBlock)); blk += sizeof(BkpBlock); - reln = XLogOpenRelation(true, record->xl_rmid, bkpb.node); + reln = XLogOpenRelation(bkpb.node); if (reln) { @@ -5308,11 +5308,6 @@ xlog_redo(XLogRecPtr lsn, XLogRecord *record) } } -void -xlog_undo(XLogRecPtr lsn, XLogRecord *record) -{ -} - void xlog_desc(char *buf, uint8 xl_info, char *rec) { -- cgit v1.2.3