Re: [HACKERS] Warnings in pgstattuple

2006-07-27 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> 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

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


[HACKERS] Warnings in pgstattuple

2006-07-27 Thread Alvaro Herrera
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 Herrerahttp://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org