Clarify log messages

This commit is contained in:
Peter Eisentraut 2007-12-13 11:55:44 +00:00
parent e211470b19
commit 5ca3d50db7
2 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.548 2007/11/15 22:25:16 momjian Exp $ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.549 2007/12/13 11:55:44 petere Exp $
* *
* NOTES * NOTES
* *
@ -1712,7 +1712,7 @@ processCancelRequest(Port *port, void *pkt)
else else
/* Right PID, wrong key: no way, Jose */ /* Right PID, wrong key: no way, Jose */
ereport(LOG, ereport(LOG,
(errmsg("bad key in cancel request for process %d", (errmsg("wrong key in cancel request for process %d",
backendPID))); backendPID)));
return; return;
} }
@ -1720,7 +1720,7 @@ processCancelRequest(Port *port, void *pkt)
/* No matching backend */ /* No matching backend */
ereport(LOG, ereport(LOG,
(errmsg("bad pid in cancel request for process %d", (errmsg("PID %d in cancel request did not match any process",
backendPID))); backendPID)));
} }

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.141 2007/11/15 21:14:38 momjian Exp $ * $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.142 2007/12/13 11:55:44 petere Exp $
* *
* NOTES: * NOTES:
* *
@ -1003,7 +1003,7 @@ FileClose(File file)
{ {
if (filestats.st_size >= log_temp_files) if (filestats.st_size >= log_temp_files)
ereport(LOG, ereport(LOG,
(errmsg("temp file: path \"%s\" size %lu", (errmsg("temporary file: path \"%s\", size %lu",
vfdP->fileName, vfdP->fileName,
(unsigned long) filestats.st_size))); (unsigned long) filestats.st_size)));
} }