Re: [PATCHES] Fix for large file support (nonsegment mode support)

From: "Zeugswetter Andreas OSB SD" <Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: <pgsql-patches(at)postgresql(dot)org>, "Zdenek Kotala" <Zdenek(dot)Kotala(at)sun(dot)com>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] Fix for large file support (nonsegment mode support)
Date: 2008-03-11 08:49:59
Message-ID: E1539E0ED7043848906A8FF995BDA57902DD3016@m0143.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


> > Why is this not the default when supported?
>
> Fear.
>
> Maybe eventually, but right now I think it's too risky.
>
> One point that I already found out the hard way is that sizeof(off_t)
= 8
> does not guarantee the availability of largefile support; there can
also
> be filesystem-level constraints, and perhaps other things we know not
of
> at this point.

Exactly, e.g. AIX is one of those. jfs (not the newer jfs2) has an
option
to enable large files, which is not the default and cannot be changed
post crfs.
And even if it is enabled, jfs has a 64 Gb filesize limit !
Anybody know others that support large but not huge files ?

Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas OSB SD 2008-03-11 08:51:17 Re: [PATCHES] Fix for large file support (nonsegment mode support)
Previous Message Peter Eisentraut 2008-03-11 07:27:07 Re: [PATCHES] Fix for large file support (nonsegment mode support)

Browse pgsql-patches by date

  From Date Subject
Next Message Zeugswetter Andreas OSB SD 2008-03-11 08:51:17 Re: [PATCHES] Fix for large file support (nonsegment mode support)
Previous Message Peter Eisentraut 2008-03-11 07:27:07 Re: [PATCHES] Fix for large file support (nonsegment mode support)