mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Bracket filename in LOAD error message with single quotes
to clarify actual path used.
This commit is contained in:
		@@ -9,7 +9,7 @@
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * IDENTIFICATION
 | 
					 * IDENTIFICATION
 | 
				
			||||||
 *	  $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.49 1998/09/01 04:32:16 momjian Exp $
 | 
					 *	  $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.50 1998/09/25 13:47:27 thomas Exp $
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 *-------------------------------------------------------------------------
 | 
					 *-------------------------------------------------------------------------
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
@@ -621,7 +621,7 @@ ProcessUtility(Node *parsetree,
 | 
				
			|||||||
				filename = stmt->filename;
 | 
									filename = stmt->filename;
 | 
				
			||||||
				closeAllVfds();
 | 
									closeAllVfds();
 | 
				
			||||||
				if ((fp = AllocateFile(filename, "r")) == NULL)
 | 
									if ((fp = AllocateFile(filename, "r")) == NULL)
 | 
				
			||||||
					elog(ERROR, "LOAD: could not open file %s", filename);
 | 
										elog(ERROR, "LOAD: could not open file '%s'", filename);
 | 
				
			||||||
				FreeFile(fp);
 | 
									FreeFile(fp);
 | 
				
			||||||
				load_file(filename);
 | 
									load_file(filename);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user