Commit 734d4498 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Bracket filename in LOAD error message with single quotes

 to clarify actual path used.
parent d76b4069
...@@ -9,7 +9,7 @@ ...@@ -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, ...@@ -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);
} }
......
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