Bracket filename in LOAD error message with single quotes
authorThomas G. Lockhart
Fri, 25 Sep 1998 13:47:27 +0000 (13:47 +0000)
committerThomas G. Lockhart
Fri, 25 Sep 1998 13:47:27 +0000 (13:47 +0000)
 to clarify actual path used.

src/backend/tcop/utility.c

index afec8896a69336f1857775521a022029cbd84d19..6dbea70d0d62f06acdb25ae3e72742644ec5dafb 100644 (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);
            }