Content-Length: 257946 | pFad | http://github.com/postgrespro/postgres_cluster/commit/8bd064f0c7d61c40a8a1179e9d24997fc0a20689

6E Fix casting in error message for two-phase file · postgrespro/postgres_cluster@8bd064f · GitHub
Skip to content

Commit 8bd064f

Browse files
committed
Fix casting in error message for two-phase file
This error from from 811b6e3, which causes compilation warnings with OSX 10.3 and clang. Reported by Tom Lane, via buildfarm member longfin.
1 parent 811b6e3 commit 8bd064f

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
return NULL;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/8bd064f0c7d61c40a8a1179e9d24997fc0a20689

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy