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

Commit672614c

Browse files
committed
Prevent logging "failed to stat file: success" for temp files
This was broken in commitbc33474, theaddition of statistics counters for temp files.Reported by Thom Brown
1 parenta8b4b84 commit672614c

File tree

1 file changed

+5
-5
lines changed
  • src/backend/storage/file

1 file changed

+5
-5
lines changed

‎src/backend/storage/file/fd.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,11 +1128,11 @@ FileClose(File file)
11281128
vfdP->fileName,
11291129
(unsigned long)filestats.st_size)));
11301130
}
1131-
else
1132-
{
1133-
errno=stat_errno;
1134-
elog(LOG,"could not stat file \"%s\": %m",vfdP->fileName);
1135-
}
1131+
}
1132+
else
1133+
{
1134+
errno=stat_errno;
1135+
elog(LOG,"could not stat file \"%s\": %m",vfdP->fileName);
11361136
}
11371137
}
11381138

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp