Skip to content

Commit 2847de9

Browse files
Remove some additional changes in previous commit that belong elsewhere.
1 parent 21d6a6a commit 2847de9

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.398 2010/04/18 18:05:51 sriggs Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.399 2010/04/18 18:17:12 sriggs Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -6454,12 +6454,6 @@ CheckRecoveryConsistency(void)
64546454
}
64556455
}
64566456

6457-
bool
6458-
XLogConsistentState(void)
6459-
{
6460-
return reachedMinRecoveryPoint;
6461-
}
6462-
64636457
/*
64646458
* Is the system still in recovery?
64656459
*

src/include/access/xlog.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.107 2010/04/18 18:06:07 sriggs Exp $
9+
* $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.108 2010/04/18 18:17:12 sriggs Exp $
1010
*/
1111
#ifndef XLOG_H
1212
#define XLOG_H
@@ -278,7 +278,6 @@ extern void xlog_desc(StringInfo buf, uint8 xl_info, char *rec);
278278

279279
extern void issue_xlog_fsync(int fd, uint32 log, uint32 seg);
280280

281-
extern bool XLogConsistentState(void);
282281
extern bool RecoveryInProgress(void);
283282
extern bool XLogInsertAllowed(void);
284283
extern TimestampTz GetLatestXLogTime(void);

0 commit comments

Comments
 (0)