]> granicus.if.org Git - postgresql/commit
Fix printf format to use %zd when printing sizes
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 7 Apr 2017 22:27:00 +0000 (19:27 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 7 Apr 2017 22:27:00 +0000 (19:27 -0300)
commit8acc1e0fe21015d403c0e005d92d04250ece84b9
treec48e227b5871b8fc48259a57ccd18e3db114d082
parent8bf74967dab1b368f4e217c960ede1516c42a989
Fix printf format to use %zd when printing sizes

Using %ld as we were doing raises compiler warnings on 32 bit platforms.

Reported by Andres Freund.
Discussion: https://postgr.es/m/20170407214022.fidezl2e6rk3tuiz@alap3.anarazel.de
src/backend/statistics/dependencies.c
src/backend/statistics/mvdistinct.c