Fix unportable printf format introduced in commit 9290ad198.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 5883f5fe27d7b52c812dd0f8cbda67373a14c451
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-11-25T15:48:36Z
Releases: 13.0
Fix unportable printf format introduced in commit 9290ad198.

"%ld" is not an acceptable format spec for int64 variables, though
it accidentally works on most non-Windows 64-bit platforms.  Follow
the lead of commit 6a1cd8b92, and use "%lld" with an explicit cast
to long long.  Per buildfarm.

Files

PathChange+/−
src/backend/replication/walsender.c modified +5 −2