diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-15 19:20:47 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-15 19:20:47 +0000 |
commit | 94a41d132631f31646b81e3307c3c8d28682a4e9 (patch) | |
tree | 21ffd89a598105920d4fd0f19ce79f7faea5e5ca /src/backend/bootstrap/bootstrap.c | |
parent | 44d7f153aeec5f7e541c2d56e2c2a13e72ec3ea8 (diff) |
Repair two problems with WAL logging of sequence nextvalI() ops, as
per recent pghackers discussion: force a new WAL record at first nextval
after a checkpoint, and ensure that xlog is flushed to disk if a nextval
record is the only thing emitted by a transaction.
Diffstat (limited to 'src/backend/bootstrap/bootstrap.c')
-rw-r--r-- | src/backend/bootstrap/bootstrap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c index cd118d30d74..44d5e2efd98 100644 --- a/src/backend/bootstrap/bootstrap.c +++ b/src/backend/bootstrap/bootstrap.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.120 2002/01/10 01:11:45 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.120.2.1 2002/03/15 19:20:44 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -380,7 +380,7 @@ BootstrapMain(int argc, char *argv[]) InitDummyProcess(); /* needed to get LWLocks */ CreateDummyCaches(); CreateCheckPoint(false); - SetRedoRecPtr(); + SetSavedRedoRecPtr(); /* pass redo ptr back to postmaster */ proc_exit(0); /* done */ case BS_XLOG_STARTUP: |