Warnings in pgstattuple

Started by Alvaro Herreraover 19 years ago2 messageshackers
Jump to latest
#1Alvaro Herrera
alvherre@2ndquadrant.com

Just noticed these:

0 $ make
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g -fpic -I/pgsql//source/12vacuum/contrib/pgstattuple -I../../src/include -I/pgsql//source/12vacuum/src/include -D_GNU_SOURCE -c -o pgstattuple.o /pgsql//source/12vacuum/contrib/pgstattuple/pgstattuple.c -MMD -MP -MF .deps/pgstattuple.Po
/pgsql//source/12vacuum/contrib/pgstattuple/pgstattuple.c: In function 'pgstat_btree':
/pgsql//source/12vacuum/contrib/pgstattuple/pgstattuple.c:335: warning: format '%llu' expects type 'long long unsigned int', but argument 2 has type 'uint64'
/pgsql//source/12vacuum/contrib/pgstattuple/pgstattuple.c:335: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type 'uint64'
/pgsql//source/12vacuum/contrib/pgstattuple/pgstattuple.c:335: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'uint64'

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alvaro Herrera (#1)
Re: Warnings in pgstattuple

Alvaro Herrera <alvherre@commandprompt.com> writes:

Just noticed these:

Yeah, I complained about that before: the unportability is the least of
that code's problems. There's a patch in the queue that I trust fixes
it.

regards, tom lane