From 6736da5484658b212a1e5f999b8f6b03306f1fc1 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 2 Oct 2008 12:20:50 +0000 Subject: 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. --- doc/src/sgml/pgfreespacemap.sgml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/pgfreespacemap.sgml b/doc/src/sgml/pgfreespacemap.sgml index acb6374b359..f7263eef278 100644 --- a/doc/src/sgml/pgfreespacemap.sgml +++ b/doc/src/sgml/pgfreespacemap.sgml @@ -1,4 +1,4 @@ - + pg_freespacemap @@ -41,13 +41,13 @@ - pg_freespace(rel regclass IN, blkno OUT int4, avail OUT int2) + pg_freespace(rel regclass IN, blkno OUT bigint, avail OUT int2) Displays the the amount of free space on each page of the relation, - according to the FSM. A set of (blkno int4, avail int2) + according to the FSM. A set of (blkno bigint, avail int2) tuples is returned, one tuple for each page in the relation. -- cgit v1.2.3