summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2010-04-18 18:17:12 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2010-04-18 18:17:12 +0000
commit2847de9df2c8f10b0f44170c373559164d5cef6f (patch)
treefea4ec00f57c422e557f9226d40ddbd5204369e8
parent21d6a6a12850724b53ebc240080a90597b3b2580 (diff)
Remove some additional changes in previous commit that belong elsewhere.
-rw-r--r--src/backend/access/transam/xlog.c8
-rw-r--r--src/include/access/xlog.h3
2 files changed, 2 insertions, 9 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 1cd5df5e7a0..47ebf7d1fe1 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.398 2010/04/18 18:05:51 sriggs Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.399 2010/04/18 18:17:12 sriggs Exp $
*
*-------------------------------------------------------------------------
*/
@@ -6454,12 +6454,6 @@ CheckRecoveryConsistency(void)
}
}
-bool
-XLogConsistentState(void)
-{
- return reachedMinRecoveryPoint;
-}
-
/*
* Is the system still in recovery?
*
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h
index f3db21ca432..c29c98271ab 100644
--- a/src/include/access/xlog.h
+++ b/src/include/access/xlog.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.107 2010/04/18 18:06:07 sriggs Exp $
+ * $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.108 2010/04/18 18:17:12 sriggs Exp $
*/
#ifndef XLOG_H
#define XLOG_H
@@ -278,7 +278,6 @@ extern void xlog_desc(StringInfo buf, uint8 xl_info, char *rec);
extern void issue_xlog_fsync(int fd, uint32 log, uint32 seg);
-extern bool XLogConsistentState(void);
extern bool RecoveryInProgress(void);
extern bool XLogInsertAllowed(void);
extern TimestampTz GetLatestXLogTime(void);