Make the blkno arguments bigints instead of int4s. A signed int4 is not
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_freespacemap/pg_freespacemap.c | modified | +4 −6 |
| contrib/pg_freespacemap/pg_freespacemap.sql.in | modified | +5 −5 |
| doc/src/sgml/pgfreespacemap.sgml | modified | +3 −3 |