From 2847de9df2c8f10b0f44170c373559164d5cef6f Mon Sep 17 00:00:00 2001 From: Simon Riggs Date: Sun, 18 Apr 2010 18:17:12 +0000 Subject: [PATCH] Remove some additional changes in previous commit that belong elsewhere. --- src/backend/access/transam/xlog.c | 8 +------- src/include/access/xlog.h | 3 +-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 1cd5df5e7a..47ebf7d1fe 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 f3db21ca43..c29c98271a 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);