Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit89c5008

Browse files
Further message changes when recovery.conf parameters missing.
1 parent492d9f2 commit89c5008

File tree

1 file changed

+5
-4
lines changed
  • src/backend/access/transam

1 file changed

+5
-4
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 5 additions & 4 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.388 2010/04/02 21:50:40 sriggs Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.389 2010/04/06 17:51:58 sriggs Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -5092,15 +5092,16 @@ readRecoveryCommandFile(void)
50925092
if (StandbyMode)
50935093
{
50945094
if (PrimaryConnInfo==NULL&&recoveryRestoreCommand==NULL)
5095-
ereport(FATAL,
5095+
ereport(WARNING,
50965096
(errmsg("recovery command file \"%s\" specified neither primary_conninfo nor restore_command",
5097-
RECOVERY_COMMAND_FILE)));
5097+
RECOVERY_COMMAND_FILE),
5098+
errhint("The database server will regularly poll the pg_xlog subdirectory to check for files placed there.")));
50985099
}
50995100
else
51005101
{
51015102
if (recoveryRestoreCommand==NULL)
51025103
ereport(FATAL,
5103-
(errmsg("recovery command file \"%s\"did notspecify restore_commandnor standby_mode",
5104+
(errmsg("recovery command file \"%s\"mustspecify restore_commandwhen standby mode is not enabled",
51045105
RECOVERY_COMMAND_FILE)));
51055106
}
51065107

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp