summaryrefslogtreecommitdiff
path: root/src/backend/access/heap
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2014-09-05 01:20:33 -0400
committerPeter Eisentraut <peter_e@gmx.net>2014-09-05 01:24:29 -0400
commita6283f97069e6f747bdc2052e9f755a9136a5edc (patch)
treebf75781e87f58fc93ffa6cbc55be5aff2d6a3d14 /src/backend/access/heap
parent7695f9701a8bf46bf385c96bce2e216ee2ccf93e (diff)
Assorted message fixes and improvements
Diffstat (limited to 'src/backend/access/heap')
-rw-r--r--src/backend/access/heap/rewriteheap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/rewriteheap.c b/src/backend/access/heap/rewriteheap.c
index 0fc9266e8bd..951f3f1a489 100644
--- a/src/backend/access/heap/rewriteheap.c
+++ b/src/backend/access/heap/rewriteheap.c
@@ -1161,7 +1161,7 @@ heap_xlog_logical_rewrite(XLogRecPtr lsn, XLogRecord *r)
if (lseek(fd, xlrec->offset, SEEK_SET) != xlrec->offset)
ereport(ERROR,
(errcode_for_file_access(),
- errmsg("could not seek to the end of file \"%s\": %m",
+ errmsg("could not seek to end of file \"%s\": %m",
path)));
data = XLogRecGetData(r) + sizeof(*xlrec);
@@ -1255,7 +1255,7 @@ CheckPointLogicalRewriteHeap(void)
if (unlink(path) < 0)
ereport(ERROR,
(errcode_for_file_access(),
- errmsg("could not unlink file \"%s\": %m", path)));
+ errmsg("could not remove file \"%s\": %m", path)));
}
else
{