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 f175884 commit a1bb570Copy full SHA for a1bb570
contrib/pg_upgrade/file.c
@@ -75,7 +75,7 @@ copyAndUpdateFile(migratorContext *ctx, pageCnvCtx *pageConverter,
75
76
if ((dstfd = open(dst, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR)) < 0)
77
{
78
- fclose(src_fd);
+ close(src_fd);
79
return "can't create destination file";
80
}
81
0 commit comments