Re: [PATCHES] Fix for large file support (nonsegment mode support) - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCHES] Fix for large file support (nonsegment mode support)
Date
Msg-id 200803111839.15657.peter_e@gmx.net
Whole thread Raw
In response to Re: [PATCHES] Fix for large file support (nonsegment mode support)  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: [PATCHES] Fix for large file support (nonsegment mode support)  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Greg Smith
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Add: > o Add SQLSTATE severity to PGconn return status > >
Next
From: Bruce Momjian
Date:
Subject: Re: temporal variants of generate_series()