Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
aed1a012
Commit
aed1a012
authored
Jan 26, 2010
by
Simon Riggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix longstanding gripe that we check for 0000000001.history at start of
archive recovery, even when we know it is never present.
parent
9507c8a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+9
-1
No files found.
src/backend/access/transam/xlog.c
View file @
aed1a012
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.36
0 2010/01/23 16:37:12
sriggs Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.36
1 2010/01/26 00:07:13
sriggs Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -4142,6 +4142,10 @@ readTimeLineHistory(TimeLineID targetTLI)
...
@@ -4142,6 +4142,10 @@ readTimeLineHistory(TimeLineID targetTLI)
char
fline
[
MAXPGPATH
];
char
fline
[
MAXPGPATH
];
FILE
*
fd
;
FILE
*
fd
;
/* Timeline 1 does not have a history file, so no need to check */
if
(
targetTLI
==
1
)
return
list_make1_int
((
int
)
targetTLI
);
if
(
InArchiveRecovery
)
if
(
InArchiveRecovery
)
{
{
TLHistoryFileName
(
histfname
,
targetTLI
);
TLHistoryFileName
(
histfname
,
targetTLI
);
...
@@ -4227,6 +4231,10 @@ existsTimeLineHistory(TimeLineID probeTLI)
...
@@ -4227,6 +4231,10 @@ existsTimeLineHistory(TimeLineID probeTLI)
char
histfname
[
MAXFNAMELEN
];
char
histfname
[
MAXFNAMELEN
];
FILE
*
fd
;
FILE
*
fd
;
/* Timeline 1 does not have a history file, so no need to check */
if
(
probeTLI
==
1
)
return
false
;
if
(
InArchiveRecovery
)
if
(
InArchiveRecovery
)
{
{
TLHistoryFileName
(
histfname
,
probeTLI
);
TLHistoryFileName
(
histfname
,
probeTLI
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment