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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCHES] Fix for large file support (nonsegment mode support)
Дата
Msg-id 200803111839.15657.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: [PATCHES] Fix for large file support (nonsegment mode support)  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Ответы Re: [PATCHES] Fix for large file support (nonsegment mode support)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Zdenek Kotala wrote:
> Yes, agree. It seems only ZFS is OK at this moment and if somebody sets
> 32TB he gets nonsegment mode anyway.

Surely if you set the segment size to INT64_MAX, you will get nonsegmented
behavior anyway, so two code paths might not be necessary at all.

> I looked into posix standard and
> there is useful function which can be used. See
>
> http://www.opengroup.org/onlinepubs/009695399/functions/pathconf.html
>
> Maybe we can put additional test into configure and collect appropriate
> data from buildfarm.

It might be good to just check first if it returns realistic values for the
example cases that have been mentioned.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Add: > o Add SQLSTATE severity to PGconn return status > >
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: temporal variants of generate_series()