diff options
author | Vadim B. Mikheev <vadim4o@yahoo.com> | 2000-11-21 02:11:06 +0000 |
---|---|---|
committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 2000-11-21 02:11:06 +0000 |
commit | 01f2547c6b8a459b6a86582044f95fefaf5d6b5a (patch) | |
tree | 63502fe458897cef0658e8b8b2ae9318eaf99744 /src | |
parent | fdbd6ca75ed3ccd2b7d1e6ed65c76978129bf128 (diff) | |
download | postgresql-01f2547c6b8a459b6a86582044f95fefaf5d6b5a.tar.gz postgresql-01f2547c6b8a459b6a86582044f95fefaf5d6b5a.zip |
Init ShmemVariableCache in BootStrapXLOG()
(should fix OID bootstraping).
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/transam/xlog.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index cb463503c40..22f93190f70 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.28 2000/11/20 05:18:39 vadim Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.29 2000/11/21 02:11:06 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -1294,6 +1294,10 @@ BootStrapXLOG() checkPoint.nextOid = BootstrapObjectIdData; checkPoint.ThisStartUpID = 0; + ShmemVariableCache->nextXid = checkPoint.nextXid; + ShmemVariableCache->nextOid = checkPoint.nextOid; + ShmemVariableCache->oidCount = 0; + #ifdef XLOG memset(buffer, 0, BLCKSZ); |