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

Commit546d65d

Browse files
committed
In pg_upgrade, add third meaningless parameter to open().
1 parent29add0d commit546d65d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/pg_upgrade/relfilenode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ transfer_relfile(pageCnvCtx *pageConverter, FileNameMap *map,
199199
if (type_suffix[0]!='\0'||segno!=0)
200200
{
201201
/* Did file open fail? */
202-
if ((fd=open(old_file,O_RDONLY))==-1)
202+
if ((fd=open(old_file,O_RDONLY,0))==-1)
203203
{
204204
/* File does not exist? That's OK, just return */
205205
if (errno==ENOENT)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp