Jack Orenstein wrote:
> Tom Lane wrote:
>> All segments before the last one should be exactly 1GB, but the last
>> one can be anything up to that. Consult the comments in md.c for
>> more details. (I think 7.4 may treat some corner cases differently
>> from 8.3 anyway.)
>
> Just to be clear, you mean 2**30 (1,073,741,824) bytes, not 10**9?
It's RELSEG_SIZE * BLCKSZ, where
#define RELSEG_SIZE 131072
#define BLCKSZ 8192
(both from pg_config.h)
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support