diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-06 17:01:25 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-06 17:01:25 +0000 |
commit | 4c8495a1f2ae7a027a4b3e8fdb2aa5b21a5be1fc (patch) | |
tree | dc2572925875d8623ad32d3d376e41b45968b90d /src/backend/commands/sequence.c | |
parent | 928b06a6cc7ea2554f948fbe785adb4b0df51ed0 (diff) |
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/commands/sequence.c')
-rw-r--r-- | src/backend/commands/sequence.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/backend/commands/sequence.c b/src/backend/commands/sequence.c index 69e8cd039ed..3278be1239f 100644 --- a/src/backend/commands/sequence.c +++ b/src/backend/commands/sequence.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/sequence.c,v 1.120 2005/05/27 00:57:49 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/commands/sequence.c,v 1.121 2005/06/06 17:01:23 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1077,7 +1077,7 @@ seq_redo(XLogRecPtr lsn, XLogRecord *record) if (info != XLOG_SEQ_LOG) elog(PANIC, "seq_redo: unknown op code %u", info); - reln = XLogOpenRelation(true, RM_SEQ_ID, xlrec->node); + reln = XLogOpenRelation(xlrec->node); if (!RelationIsValid(reln)) return; @@ -1108,11 +1108,6 @@ seq_redo(XLogRecPtr lsn, XLogRecord *record) } void -seq_undo(XLogRecPtr lsn, XLogRecord *record) -{ -} - -void seq_desc(char *buf, uint8 xl_info, char *rec) { uint8 info = xl_info & ~XLR_INFO_MASK; |