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

Commit8bd064f

Browse files
committed
Fix casting in error message for two-phase file
This error from from811b6e3, which causes compilation warnings with OSX10.3 and clang.Reported by Tom Lane, via buildfarm member longfin.
1 parent811b6e3 commit8bd064f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/access/transam/twophase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,7 @@ ReadTwoPhaseFile(TransactionId xid, bool give_warnings)
12951295
else
12961296
ereport(WARNING,
12971297
(errmsg("could not read file \"%s\": read %d of %zu",
1298-
path,r,stat.st_size)));
1298+
path,r,(Size)stat.st_size)));
12991299
}
13001300
pfree(buf);
13011301
returnNULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp