OSDN Git Service

Make the blkno arguments bigints instead of int4s. A signed int4 is not
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 2 Oct 2008 12:20:50 +0000 (12:20 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 2 Oct 2008 12:20:50 +0000 (12:20 +0000)
commit6736da5484658b212a1e5f999b8f6b03306f1fc1
tree72c4cccdd319b744d5b0f730d179ade5389cdc41
parentf10a86ece7bc49550c96943dc2359a91d39c5ad2
Make the blkno arguments bigints instead of int4s. A signed int4 is not
large enough for block numbers higher than 2^31. The old pre-FSM-rewrite
pg_freespacemap implementation got this right. While we're at it, remove
some unnecessary #includes.
contrib/pg_freespacemap/pg_freespacemap.c
contrib/pg_freespacemap/pg_freespacemap.sql.in
doc/src/sgml/pgfreespacemap.sgml