summaryrefslogtreecommitdiff
path: root/contrib/pgstattuple/pgstatindex.c
diff options
context:
space:
mode:
authorTom Lane2006-09-04 02:03:04 +0000
committerTom Lane2006-09-04 02:03:04 +0000
commitc9a6490991f6ab4e01f50eb9983777fca8a6e75a (patch)
tree6a7f69d7626bd1570290375e8bf5a8c03679a3e1 /contrib/pgstattuple/pgstatindex.c
parent57bfb27e60055c10e42b87e68a894720c2f78e70 (diff)
Clean up some leftover problems in pgstattuple: remove unwanted and
unportable elog(NOTICE) report, fix install/uninstall sequence. Itagaki Takahiro
Diffstat (limited to 'contrib/pgstattuple/pgstatindex.c')
-rw-r--r--contrib/pgstattuple/pgstatindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pgstattuple/pgstatindex.c b/contrib/pgstattuple/pgstatindex.c
index bda69c252d8..d684a3e055e 100644
--- a/contrib/pgstattuple/pgstatindex.c
+++ b/contrib/pgstattuple/pgstatindex.c
@@ -561,7 +561,7 @@ bt_page_items(PG_FUNCTION_ARGS)
values[j] = palloc(32);
snprintf(values[j++], 32, "(%u,%u)", blkno, itup->t_tid.ip_posid);
values[j] = palloc(32);
- snprintf(values[j++], 32, "%d", IndexTupleSize(itup));
+ snprintf(values[j++], 32, "%d", (int) IndexTupleSize(itup));
values[j] = palloc(32);
snprintf(values[j++], 32, "%c", IndexTupleHasNulls(itup) ? 't' : 'f');
values[j] = palloc(32);