Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita0d9bdd

Browse files
committed
Massimo fix for non-existant file copy error.
1 parent90ff767 commita0d9bdd

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/1009:57:14 vadim Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.21 1997/01/1017: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)

[8]ページ先頭

©2009-2025 Movatter.jp