pgsql: Make the blkno arguments bigints instead of int4s. - Mailing list pgsql-committers

From heikki@postgresql.org (Heikki Linnakangas)
Subject pgsql: Make the blkno arguments bigints instead of int4s.
Date
Msg-id 20081002122050.BAEAE7545A4@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/contrib/pg_freespacemap:
        pg_freespacemap.c (r1.11 -> r1.12)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_freespacemap/pg_freespacemap.c?r1=1.11&r2=1.12)
        pg_freespacemap.sql.in (r1.10 -> r1.11)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_freespacemap/pg_freespacemap.sql.in?r1=1.10&r2=1.11)
    pgsql/doc/src/sgml:
        pgfreespacemap.sgml (r2.4 -> r2.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/pgfreespacemap.sgml?r1=2.4&r2=2.5)

pgsql-committers by date:

Previous
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Fix function name in pg_freespacemap docs.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Partial fix for contrib vpath breakage.