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

Commit05fd963

Browse files
committed
Fix compilation under win32
1 parent098ff1f commit05fd963

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/bin/pg_dump/pg_backup_db.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,12 +1205,12 @@ copy_file(const char *srcfile, const char *dstfile, bool create_file)
12051205
* If we're asked to create_file, it should not exist. Otherwise, we
12061206
* want to rewrite it.
12071207
*/
1208-
if (CopyFile(src,dst,create_file)==0)
1208+
if (CopyFile(srcfile,dstfile,create_file)==0)
12091209
{
12101210
_dosmaperr(GetLastError());
1211-
pg_fatal("error while copying relation \"%s.%s\" (\"%s\" to \"%s\"): %s\n",
1212-
schemaName,relName,src,dst,strerror(errno));
1211+
return-1;
12131212
}
1213+
return0;
12141214

12151215
#endif/* WIN32 */
12161216
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp