OSDN Git Service

Massimo fix for non-existant file copy error.
authorBruce Momjian <bruce@momjian.us>
Fri, 10 Jan 1997 17:46:33 +0000 (17:46 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 10 Jan 1997 17:46:33 +0000 (17:46 +0000)
src/backend/commands/copy.c

index d3781d6..f46a848 100644 (file)
@@ -6,7 +6,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.20 1997/01/10 09:57:14 vadim Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.21 1997/01/10 17:46:33 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -126,7 +126,7 @@ DoCopy(char *relname, bool binary, bool oids, bool from, bool pipe,
                 fp = fopen(filename, "r");
                 if (fp == NULL) 
                     elog(WARN, "COPY command, running in backend with "
-                         "effective uid %d, could not open file '%s' for ",
+                         "effective uid %d, could not open file '%s' for "
                          "reading.  Errno = %s (%d).", 
                          geteuid(), filename, strerror(errno), errno);
                     /* Above should not return */
@@ -145,7 +145,7 @@ DoCopy(char *relname, bool binary, bool oids, bool from, bool pipe,
                 umask(oumask);
                 if (fp == NULL) 
                     elog(WARN, "COPY command, running in backend with "
-                         "effective uid %d, could not open file '%s' for ",
+                         "effective uid %d, could not open file '%s' for "
                          "writing.  Errno = %s (%d).", 
                          geteuid(), filename, strerror(errno), errno);
                     /* Above should not return */