From a6283f97069e6f747bdc2052e9f755a9136a5edc Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 5 Sep 2014 01:20:33 -0400 Subject: Assorted message fixes and improvements --- src/backend/replication/logical/snapbuild.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/replication/logical/snapbuild.c') diff --git a/src/backend/replication/logical/snapbuild.c b/src/backend/replication/logical/snapbuild.c index 3319497603f..734fc2c5a52 100644 --- a/src/backend/replication/logical/snapbuild.c +++ b/src/backend/replication/logical/snapbuild.c @@ -1506,7 +1506,7 @@ SnapBuildSerialize(SnapBuild *builder, XLogRecPtr lsn) if (unlink(tmppath) != 0 && errno != ENOENT) ereport(ERROR, (errcode_for_file_access(), - errmsg("could not unlink file \"%s\": %m", path))); + errmsg("could not remove file \"%s\": %m", path))); needed_length = sizeof(SnapBuildOnDisk) + sizeof(TransactionId) * builder->running.xcnt_space + @@ -1857,7 +1857,7 @@ CheckPointSnapBuild(void) if (sscanf(snap_de->d_name, "%X-%X.snap", &hi, &lo) != 2) { ereport(LOG, - (errmsg("could not parse filename \"%s\"", path))); + (errmsg("could not parse file name \"%s\"", path))); continue; } @@ -1877,7 +1877,7 @@ CheckPointSnapBuild(void) { ereport(LOG, (errcode_for_file_access(), - errmsg("could not unlink file \"%s\": %m", + errmsg("could not remove file \"%s\": %m", path))); continue; } -- cgit v1.2.3