Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 734d449

Browse files
author
Thomas G. Lockhart
committed
Bracket filename in LOAD error message with single quotes
to clarify actual path used.
1 parent d76b406 commit 734d449

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/tcop/utility.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.49 1998/09/01 04:32:16 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.50 1998/09/25 13:47:27 thomas Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -621,7 +621,7 @@ ProcessUtility(Node *parsetree,
621621
filename = stmt->filename;
622622
closeAllVfds();
623623
if ((fp = AllocateFile(filename, "r")) == NULL)
624-
elog(ERROR, "LOAD: could not open file %s", filename);
624+
elog(ERROR, "LOAD: could not open file '%s'", filename);
625625
FreeFile(fp);
626626
load_file(filename);
627627
}

0 commit comments

Comments
 (0)