Bracket filename in LOAD error message with single quotes

to clarify actual path used.
This commit is contained in:
Thomas G. Lockhart 1998-09-25 13:47:27 +00:00
parent d76b4069ad
commit 734d44988a
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
*
*
* 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;
closeAllVfds();
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);
load_file(filename);
}