Tom Lane wrote:
> Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> writes:
>> I found following expression in md.c:
>> seekpos = (long) (BLCKSZ * (blocknum % ((BlockNumber) RELSEG_SIZE)));
>
> There's no percentage in touching that code unless you intend to enable
> the non-segmented behavior; which will probably need more fixes than
> just this.
For non-segment code is following section:
seekpos = (long) (BLCKSZ * (blocknum));
and FileSeek function also accept only 32bit offset.
Zdenek