We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad76242 commit fb7355eCopy full SHA for fb7355e
src/backend/commands/copy.c
@@ -1319,7 +1319,7 @@ DoCopyTo(CopyState cstate)
1319
if (FreeFile(cstate->copy_file))
1320
ereport(ERROR,
1321
(errcode_for_file_access(),
1322
- errmsg("could not write to file \"%s\": %m",
+ errmsg("could not close file \"%s\": %m",
1323
cstate->filename)));
1324
}
1325
@@ -2263,7 +2263,7 @@ CopyFrom(CopyState cstate)
2263
2264
2265
2266
- errmsg("could not read from file \"%s\": %m",
2267
2268
2269
0 commit comments