diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2007-11-15 22:02:12 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2007-11-15 22:02:12 +0000 |
commit | b30769ee54f1877dab17e7b5c7bf91de93970036 (patch) | |
tree | 9c87882601994fdd947c2b9de599311b01d5d7f4 /src | |
parent | 1f735c32b28dd68b97a2ef03f42730a02348f460 (diff) | |
download | postgresql-b30769ee54f1877dab17e7b5c7bf91de93970036.tar.gz postgresql-b30769ee54f1877dab17e7b5c7bf91de93970036.zip |
When logging the recovery.conf parameters, show them quoted as they would
appear in the configuration file.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/transam/xlog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 3218c134e52..30539dea18f 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.288 2007/11/15 21:14:32 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.289 2007/11/15 22:02:12 petere Exp $ * *------------------------------------------------------------------------- */ @@ -4377,7 +4377,7 @@ readRecoveryCommandFile(void) { recoveryRestoreCommand = pstrdup(tok2); ereport(LOG, - (errmsg("restore_command = \"%s\"", + (errmsg("restore_command = '%s'", recoveryRestoreCommand))); } else if (strcmp(tok1, "recovery_target_timeline") == 0) @@ -4435,7 +4435,7 @@ readRecoveryCommandFile(void) ObjectIdGetDatum(InvalidOid), Int32GetDatum(-1))); ereport(LOG, - (errmsg("recovery_target_time = %s", + (errmsg("recovery_target_time = '%s'", timestamptz_to_str(recoveryTargetTime)))); } else if (strcmp(tok1, "recovery_target_inclusive") == 0) @@ -4504,7 +4504,7 @@ readRecoveryCommandFile(void) /* Timeline 1 does not have a history file, all else should */ if (rtli != 1 && !existsTimeLineHistory(rtli)) ereport(FATAL, - (errmsg("recovery_target_timeline %u does not exist", + (errmsg("recovery target timeline %u does not exist", rtli))); recoveryTargetTLI = rtli; } |