Fix unportable printf format introduced in commit 9290ad198.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 25 Nov 2019 15:48:36 +0000 (10:48 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 25 Nov 2019 15:48:36 +0000 (10:48 -0500)
commit5883f5fe27d7b52c812dd0f8cbda67373a14c451
tree2a01c929aa45cf86d530780074db19e3faaa2d6c
parente0487223ecac9cbb7f673e4ff6d2e4086e591abf
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.
src/backend/replication/walsender.c