aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-06 17:01:25 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-06 17:01:25 +0000
commit4c8495a1f2ae7a027a4b3e8fdb2aa5b21a5be1fc (patch)
treedc2572925875d8623ad32d3d376e41b45968b90d /src/backend/access/transam/xlog.c
parent928b06a6cc7ea2554f948fbe785adb4b0df51ed0 (diff)
downloadpostgresql-4c8495a1f2ae7a027a4b3e8fdb2aa5b21a5be1fc.tar.gz
postgresql-4c8495a1f2ae7a027a4b3e8fdb2aa5b21a5be1fc.zip
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.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c9
1 files changed, 2 insertions, 7 deletions
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)
{
@@ -5309,11 +5309,6 @@ xlog_redo(XLogRecPtr lsn, XLogRecord *record)
}
void
-xlog_undo(XLogRecPtr lsn, XLogRecord *record)
-{
-}
-
-void
xlog_desc(char *buf, uint8 xl_info, char *rec)
{
uint8 info = xl_info & ~XLR_INFO_MASK;