aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xlog.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-05-27 17:12:57 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-05-27 17:12:57 +0000
commit16974ee9103ef7908e81869687b3fc3719e64a4e (patch)
treea48db6dabaebe0cf1d255633a683bac984139420 /src/include/access/xlog.h
parentbb44a7c52521bc3c5c6ee81a546ea82855690e81 (diff)
downloadpostgresql-16974ee9103ef7908e81869687b3fc3719e64a4e.tar.gz
postgresql-16974ee9103ef7908e81869687b3fc3719e64a4e.zip
Get rid of the former rather baroque mechanism for propagating the values
of ThisStartUpID and RedoRecPtr into new backends. It's a lot easier just to make them all grab the values out of shared memory during startup. This helps to decouple the postmaster from checkpoint execution, which I need since I'm intending to let the bgwriter do it instead, and it also fixes a bug in the Win32 port: ThisStartUpID wasn't getting propagated at all AFAICS. (Doesn't give me a lot of faith in the amount of testing that port has gotten.)
Diffstat (limited to 'src/include/access/xlog.h')
-rw-r--r--src/include/access/xlog.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h
index 8f9d97adad3..b0ebedcf329 100644
--- a/src/include/access/xlog.h
+++ b/src/include/access/xlog.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.49 2004/02/11 22:55:25 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.50 2004/05/27 17:12:57 tgl Exp $
*/
#ifndef XLOG_H
#define XLOG_H
@@ -230,11 +230,9 @@ extern void XLOGPathInit(void);
extern void BootStrapXLOG(void);
extern void StartupXLOG(void);
extern void ShutdownXLOG(int code, Datum arg);
+extern void InitXLOGAccess(void);
extern void CreateCheckPoint(bool shutdown, bool force);
-extern void SetThisStartUpID(void);
extern void XLogPutNextOid(Oid nextOid);
-extern void SetSavedRedoRecPtr(void);
-extern void GetSavedRedoRecPtr(void);
extern XLogRecPtr GetRedoRecPtr(void);
/* in storage/ipc/sinval.c, but don't want to declare in sinval.h because