Re: [HACKERS] Linux Largefile Support In Postgresql RPMS

From: Greg Copeland <greg(at)CopelandConsulting(dot)Net>
To: strange(at)nsk(dot)yi(dot)org
Cc: PostgresSQL General Mailing List <pgsql-general(at)postgresql(dot)org>, PostgresSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Date: 2002-08-13 18:10:10
Message-ID: 1029262211.13287.1.camel@mouse.copelandconsulting.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Tue, 2002-08-13 at 12:45, strange(at)nsk(dot)yi(dot)org wrote:
> On Tue, Aug 13, 2002 at 01:04:02PM -0400, Tom Lane wrote:
> > On a system where building with large-file support is reasonably
> > standard, I agree that PG should be built that way too. Where it's
> > not so standard, I agree with Andrew Sullivan's concerns ...
>
> What do you mean by "standard"? That only some filesystems are supported?
> In Linux the vfat filesystem doesn't support largefiles, so the behaviour
> is the same as if the application didn't specify O_LARGEFILE to open(2):
> As Helge Bahmann pointed out, "kernel will refuse to write files larger than
> 2GB". In current Linux, a signal (SIGXFSZ) is sent to the application
> that then dumps core.
>
>
> So, the use of O_LARGEFILE is nullified by the lack of support by the
> filesystem, but no problem is introduced by the application supporting
> largefiles, it already existed before.
>

Thank you. That's a point that I previously pointed out...you just did
a much better job of it. Specifically, want to stress that enabling
large file support is not dangerous.

Greg

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jon Swinth 2002-08-13 18:10:48 Re: Transaction Exception Question
Previous Message Andrew Sullivan 2002-08-13 18:09:07 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Copeland 2002-08-13 18:11:27 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Previous Message Andrew Sullivan 2002-08-13 18:09:07 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS