Log Message:
-----------
Fix uninitialized value in pgstatindex leading to invalid values being
reported in some cases. Report and patch from Tatsuhito Kasahara.
Also fix a couple of other bugs I noticed in skimming the surrounding code.
Modified Files:
--------------
pgsql/contrib/pgstattuple:
pgstatindex.c (r1.2 -> r1.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pgstattuple/pgstatindex.c.diff?r1=1.2&r2=1.3)