Re: [HACKERS] Fix for large file support (nonsegment mode support)
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] Fix for large file support (nonsegment mode support) |
| Дата | |
| Msg-id | 2247.1205191243@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [HACKERS] Fix for large file support (nonsegment mode support) (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: [HACKERS] Fix for large file support (nonsegment mode support)
Re: [HACKERS] Fix for large file support (nonsegment mode support) Re: [HACKERS] Fix for large file support (nonsegment mode support) |
| Список | pgsql-patches |
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane wrote:
>> Applied with minor corrections.
> 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.
I think this needs to be treated as experimental until it's got a few
more than zero miles under its belt. I wouldn't be too surprised to
find that we have to implement it as a run-time switch instead of
compile-time, in order to not fail miserably when somebody sticks a
tablespace on an archaic filesystem.
regards, tom lane
В списке pgsql-patches по дате отправления: