From: | heikki(at)postgresql(dot)org (Heikki Linnakangas) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Make the blkno arguments bigints instead of int4s. |
Date: | 2008-10-02 12:20:50 |
Message-ID: | 20081002122050.BAEAE7545A4@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-10-02 12:25:26 | pgsql: Partial fix for contrib vpath breakage. |
Previous Message | Peter Eisentraut | 2008-10-02 11:51:08 | Re: [COMMITTERS] pgsql: Allow pg_regress to be run outside the build tree. |