summaryrefslogtreecommitdiff
path: root/doc/src/sgml/pgfreespacemap.sgml
diff options
context:
space:
mode:
authorHeikki Linnakangas2008-10-02 12:20:50 +0000
committerHeikki Linnakangas2008-10-02 12:20:50 +0000
commit6736da5484658b212a1e5f999b8f6b03306f1fc1 (patch)
tree72c4cccdd319b744d5b0f730d179ade5389cdc41 /doc/src/sgml/pgfreespacemap.sgml
parentf10a86ece7bc49550c96943dc2359a91d39c5ad2 (diff)
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.
Diffstat (limited to 'doc/src/sgml/pgfreespacemap.sgml')
-rw-r--r--doc/src/sgml/pgfreespacemap.sgml6
1 files changed, 3 insertions, 3 deletions
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 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/pgfreespacemap.sgml,v 2.4 2008/10/02 10:26:51 heikki Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/pgfreespacemap.sgml,v 2.5 2008/10/02 12:20:50 heikki Exp $ -->
<sect1 id="pgfreespacemap">
<title>pg_freespacemap</title>
@@ -41,13 +41,13 @@
<varlistentry>
<term>
- <function>pg_freespace(rel regclass IN, blkno OUT int4, avail OUT int2)</function>
+ <function>pg_freespace(rel regclass IN, blkno OUT bigint, avail OUT int2)</function>
</term>
<listitem>
<para>
Displays the the amount of free space on each page of the relation,
- according to the FSM. A set of <literal>(blkno int4, avail int2)</>
+ according to the FSM. A set of <literal>(blkno bigint, avail int2)</>
tuples is returned, one tuple for each page in the relation.
</para>
</listitem>