aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/heap/rewriteheap.c
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:25:27 -0400
commit303f4d1012a20102d9fec6f486da0b381184a718 (patch)
tree6affe514b61f198d1f53914341da0bd051f944e6 /src/backend/access/heap/rewriteheap.c
parentd85e7fac415722bccc83dc96baccdb398ea5a2f4 (diff)
downloadpostgresql-303f4d1012a20102d9fec6f486da0b381184a718.tar.gz
postgresql-303f4d1012a20102d9fec6f486da0b381184a718.zip
Assorted message fixes and improvements
Diffstat (limited to 'src/backend/access/heap/rewriteheap.c')
-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
{