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
89c50081
Commit
89c50081
authored
Apr 06, 2010
by
Simon Riggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Further message changes when recovery.conf parameters missing.
parent
492d9f23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+5
-4
No files found.
src/backend/access/transam/xlog.c
View file @
89c50081
...
...
@@ -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.38
8 2010/04/02 21:50:40
sriggs Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.38
9 2010/04/06 17:51:58
sriggs Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -5092,15 +5092,16 @@ readRecoveryCommandFile(void)
if
(
StandbyMode
)
{
if
(
PrimaryConnInfo
==
NULL
&&
recoveryRestoreCommand
==
NULL
)
ereport
(
FATAL
,
ereport
(
WARNING
,
(
errmsg
(
"recovery command file
\"
%s
\"
specified neither primary_conninfo nor restore_command"
,
RECOVERY_COMMAND_FILE
)));
RECOVERY_COMMAND_FILE
),
errhint
(
"The database server will regularly poll the pg_xlog subdirectory to check for files placed there."
)));
}
else
{
if
(
recoveryRestoreCommand
==
NULL
)
ereport
(
FATAL
,
(
errmsg
(
"recovery command file
\"
%s
\"
did not specify restore_command nor standby_mode
"
,
(
errmsg
(
"recovery command file
\"
%s
\"
must specify restore_command when standby mode is not enabled
"
,
RECOVERY_COMMAND_FILE
)));
}
...
...
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