1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-29 10:41:53 +03:00

Small message clarifications

This commit is contained in:
Peter Eisentraut
2004-11-05 17:11:34 +00:00
parent a23db90ce0
commit 0ed3c7665e
5 changed files with 13 additions and 12 deletions

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.175 2004/10/29 00:16:08 tgl Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.176 2004/11/05 17:10:56 petere Exp $
*
*-------------------------------------------------------------------------
*/
@ -1660,7 +1660,7 @@ XLogFileCopy(uint32 log, uint32 seg,
errmsg("could not read file \"%s\": %m", path)));
else
ereport(PANIC,
(errmsg("insufficient data in file \"%s\"", path)));
(errmsg("not enough data in file \"%s\"", path)));
}
errno = 0;
if ((int) write(fd, buffer, sizeof(buffer)) != (int) sizeof(buffer))
@ -2049,7 +2049,7 @@ RestoreArchivedFile(char *path, const char *xlogfname,
* program incorrectly. We have to assume the former.
*/
ereport(DEBUG1,
(errmsg("could not restore \"%s\" from archive: return code %d",
(errmsg("could not restore file \"%s\" from archive: return code %d",
xlogfname, rc)));
/*