diff options
author | Magnus Hagander <magnus@hagander.net> | 2008-04-24 14:23:43 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2008-04-24 14:23:43 +0000 |
commit | 380d1ee69e09b3cd529db361c8b35f6ed0acaf69 (patch) | |
tree | a4d740c96d2ab776518587523852fb838616c9bc /src/backend/access/transam/xlog.c | |
parent | 19750904c814ab387c0475c0b543453d86c45eaa (diff) | |
download | postgresql-380d1ee69e09b3cd529db361c8b35f6ed0acaf69.tar.gz postgresql-380d1ee69e09b3cd529db361c8b35f6ed0acaf69.zip |
Update error messages, per notes from Tom.
Laurenz Albe
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r-- | src/backend/access/transam/xlog.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index d23fc9b5614..df1549f97d9 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.299 2008/04/23 13:44:58 mha Exp $ + * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.300 2008/04/24 14:23:43 mha Exp $ * *------------------------------------------------------------------------- */ @@ -7101,14 +7101,15 @@ CancelBackup(void) { ereport(LOG, (errmsg("online backup mode cancelled"), - errdetail("\"%s\" renamed to \"%s\"", + errdetail("\"%s\" was renamed to \"%s\".", BACKUP_LABEL_FILE, BACKUP_LABEL_OLD))); } else { ereport(WARNING, (errcode_for_file_access(), - errmsg("could not rename \"%s\" to \"%s\", backup mode not cancelled: %m", + errmsg("online backup mode was not cancelled"), + errdetail("Could not rename \"%s\" to \"%s\": %m.", BACKUP_LABEL_FILE, BACKUP_LABEL_OLD))); } } |