diff options
| author | Bruce Momjian <bruce@momjian.us> | 2007-03-03 20:02:27 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2007-03-03 20:02:27 +0000 |
| commit | ae35867a39cd990aea2b7e79f929193a32d359e2 (patch) | |
| tree | 919c392646afd142661eb3786ac14720451f0511 /src/bin/pg_resetxlog | |
| parent | 0763a5650147a5573a5a4b81de5dd819f010f8e8 (diff) | |
| download | postgresql-ae35867a39cd990aea2b7e79f929193a32d359e2.tar.gz | |
Remove undo information from pg_controldata --- never used.
Florian G. Pflug
Diffstat (limited to 'src/bin/pg_resetxlog')
| -rw-r--r-- | src/bin/pg_resetxlog/pg_resetxlog.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/pg_resetxlog/pg_resetxlog.c b/src/bin/pg_resetxlog/pg_resetxlog.c index 1cb7fef059..c272fc432d 100644 --- a/src/bin/pg_resetxlog/pg_resetxlog.c +++ b/src/bin/pg_resetxlog/pg_resetxlog.c @@ -23,7 +23,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.57 2007/02/10 14:58:55 petere Exp $ + * $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.58 2007/03/03 20:02:27 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -464,7 +464,6 @@ GuessControlValues(void) ControlFile.checkPointCopy.redo.xlogid = 0; ControlFile.checkPointCopy.redo.xrecoff = SizeOfXLogLongPHD; - ControlFile.checkPointCopy.undo = ControlFile.checkPointCopy.redo; ControlFile.checkPointCopy.ThisTimeLineID = 1; ControlFile.checkPointCopy.nextXidEpoch = 0; ControlFile.checkPointCopy.nextXid = (TransactionId) 514; /* XXX */ @@ -600,7 +599,6 @@ RewriteControlFile(void) ControlFile.checkPointCopy.redo.xlogid = newXlogId; ControlFile.checkPointCopy.redo.xrecoff = newXlogSeg * XLogSegSize + SizeOfXLogLongPHD; - ControlFile.checkPointCopy.undo = ControlFile.checkPointCopy.redo; ControlFile.checkPointCopy.time = time(NULL); ControlFile.state = DB_SHUTDOWNED; |
