OSDN Git Service

Remove some additional changes in previous commit that belong elsewhere.
authorSimon Riggs <simon@2ndQuadrant.com>
Sun, 18 Apr 2010 18:17:12 +0000 (18:17 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Sun, 18 Apr 2010 18:17:12 +0000 (18:17 +0000)
src/backend/access/transam/xlog.c
src/include/access/xlog.h

index 1cd5df5..47ebf7d 100644 (file)
@@ -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?
  *
index f3db21c..c29c982 100644 (file)
@@ -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);