Commit 5ca3d50d authored by Peter Eisentraut's avatar Peter Eisentraut

Clarify log messages

parent e211470b
...@@ -37,7 +37,7 @@ ...@@ -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) ...@@ -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) ...@@ -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)));
} }
......
...@@ -7,7 +7,7 @@ ...@@ -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) ...@@ -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)));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment