mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +03:00
Assorted message style improvements
This commit is contained in:
@@ -1011,7 +1011,7 @@ ImportSnapshot(const char *idstr)
|
||||
if (strspn(idstr, "0123456789ABCDEF-") != strlen(idstr))
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||
errmsg("invalid snapshot identifier \"%s\"", idstr)));
|
||||
errmsg("invalid snapshot identifier: \"%s\"", idstr)));
|
||||
|
||||
/* OK, read the file */
|
||||
snprintf(path, MAXPGPATH, SNAPSHOT_EXPORT_DIR "/%s", idstr);
|
||||
@@ -1020,7 +1020,7 @@ ImportSnapshot(const char *idstr)
|
||||
if (!f)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||
errmsg("invalid snapshot identifier \"%s\"", idstr)));
|
||||
errmsg("invalid snapshot identifier: \"%s\"", idstr)));
|
||||
|
||||
/* get the size of the file so that we know how much memory we need */
|
||||
if (fstat(fileno(f), &stat_buf))
|
||||
|
Reference in New Issue
Block a user