pgsql: Fix unportable printf format introduced in commit 9290ad198.
pgsql: Fix unportable printf format introduced in commit 9290ad198.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/5883f5fe27d7b52c812dd0f8cbda67373a14c451 Modified Files -------------- src/backend/replication/walsender.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Re: pgsql: Fix unportable printf format introduced in commit 9290ad198.
От:
Amit Kapila <amit.kapila16@gmail.com>
Дата:
On Mon, Nov 25, 2019 at 9:18 PM Tom Lane wrote: > > Fix unportable printf format introduced in commit 9290ad198. > Thanks for fixing this. -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com