1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00

Message style improvements

This commit is contained in:
Peter Eisentraut
2011-07-08 07:37:04 +03:00
parent 6c76524620
commit 0a5b01a716
6 changed files with 14 additions and 14 deletions

View File

@@ -119,7 +119,7 @@ perform_base_backup(basebackup_options *opt, DIR *tblspcdir)
if (readlink(fullpath, linkpath, sizeof(linkpath) - 1) == -1)
{
ereport(WARNING,
(errmsg("unable to read symbolic link %s: %m", fullpath)));
(errmsg("could not read symbolic link \"%s\": %m", fullpath)));
continue;
}
@@ -363,7 +363,7 @@ SendBaseBackup(BaseBackupCmd *cmd)
dir = AllocateDir("pg_tblspc");
if (!dir)
ereport(ERROR,
(errmsg("unable to open directory pg_tblspc: %m")));
(errmsg("could not open directory \"pg_tblspc\": %m")));
perform_base_backup(&opt, dir);

View File

@@ -515,7 +515,7 @@ ProcessRepliesIfAny(void)
default:
ereport(FATAL,
(errcode(ERRCODE_PROTOCOL_VIOLATION),
errmsg("invalid standby message type %d",
errmsg("invalid standby message type \"%c\"",
firstchar)));
}
}
@@ -566,7 +566,7 @@ ProcessStandbyMessage(void)
default:
ereport(COMMERROR,
(errcode(ERRCODE_PROTOCOL_VIOLATION),
errmsg("unexpected message type %c", msgtype)));
errmsg("unexpected message type \"%c\"", msgtype)));
proc_exit(0);
}
}