mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Clarify log messages
This commit is contained in:
		@@ -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)));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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)));
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user