Skip to content

Commit a0d9bdd

Browse files
committed
Massimo fix for non-existant file copy error.
1 parent 90ff767 commit a0d9bdd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/commands/copy.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.20 1997/01/10 09:57:14 vadim Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.21 1997/01/10 17:46:33 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -126,7 +126,7 @@ DoCopy(char *relname, bool binary, bool oids, bool from, bool pipe,
126126
fp = fopen(filename, "r");
127127
if (fp == NULL)
128128
elog(WARN, "COPY command, running in backend with "
129-
"effective uid %d, could not open file '%s' for ",
129+
"effective uid %d, could not open file '%s' for "
130130
"reading. Errno = %s (%d).",
131131
geteuid(), filename, strerror(errno), errno);
132132
/* Above should not return */
@@ -145,7 +145,7 @@ DoCopy(char *relname, bool binary, bool oids, bool from, bool pipe,
145145
umask(oumask);
146146
if (fp == NULL)
147147
elog(WARN, "COPY command, running in backend with "
148-
"effective uid %d, could not open file '%s' for ",
148+
"effective uid %d, could not open file '%s' for "
149149
"writing. Errno = %s (%d).",
150150
geteuid(), filename, strerror(errno), errno);
151151
/* Above should not return */

0 commit comments

Comments
 (0)