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

Commitb30769e

Browse files
committed
When logging the recovery.conf parameters, show them quoted as they would
appear in the configuration file.
1 parent1f735c3 commitb30769e

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2007, 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.288 2007/11/1521:14:32 momjian Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.289 2007/11/1522:02:12 petere Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -4377,7 +4377,7 @@ readRecoveryCommandFile(void)
43774377
{
43784378
recoveryRestoreCommand=pstrdup(tok2);
43794379
ereport(LOG,
4380-
(errmsg("restore_command =\"%s\"",
4380+
(errmsg("restore_command ='%s'",
43814381
recoveryRestoreCommand)));
43824382
}
43834383
elseif (strcmp(tok1,"recovery_target_timeline")==0)
@@ -4435,7 +4435,7 @@ readRecoveryCommandFile(void)
44354435
ObjectIdGetDatum(InvalidOid),
44364436
Int32GetDatum(-1)));
44374437
ereport(LOG,
4438-
(errmsg("recovery_target_time =%s",
4438+
(errmsg("recovery_target_time ='%s'",
44394439
timestamptz_to_str(recoveryTargetTime))));
44404440
}
44414441
elseif (strcmp(tok1,"recovery_target_inclusive")==0)
@@ -4504,7 +4504,7 @@ readRecoveryCommandFile(void)
45044504
/* Timeline 1 does not have a history file, all else should */
45054505
if (rtli!=1&& !existsTimeLineHistory(rtli))
45064506
ereport(FATAL,
4507-
(errmsg("recovery_target_timeline %u does not exist",
4507+
(errmsg("recovery target timeline %u does not exist",
45084508
rtli)));
45094509
recoveryTargetTLI=rtli;
45104510
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp