Re: configure options - Mailing list pgsql-general

From Magnus Hagander
Subject Re: configure options
Date
Msg-id 4933CA4C.8050705@hagander.net
Whole thread Raw
In response to Re: configure options  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Responses Re: configure options  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Albe Laurenz wrote:
> Siddharth Shah wrote:
>>>> I am compiling postgres, I have some doubts on ./configure options
>>>>
>>>> --disable-largefile
>>>>          Does it refers to for storing blob objects to store or
>>>> anything else ?
>>> I couldn't find this configure switch in the documentation for
>>> 8.3 or 8.4. Can you explain where you found it and which version
>>> you are using?
>> I am using 8.3.5 and I have found these options in configure help
>> ./configure --help
>
> I see. It seems to be missing in the documentation.
>
> This has nothing to do with large objects.
> This disables use of the "large file API" for operating system files.
> If you disable this, you will probably not be able to use operating system
> files that exceed 2GB in size, which PostgreSQL normally does not do
> anyway.

pg_dump/pg_restore deals with files >2GB, so you will have backup
related issues if you disable it.


> My recommendation is to leave this switch alone and use the default;
> you should not encounter any problems.

Agreed - the cost for supporting it is zero, AFAIK, so there is no
reason to turn it off unless the OS has a buggy implementation.


//Magnus

pgsql-general by date:

Previous
From: Siddharth Shah
Date:
Subject: Re: configure options
Next
From: "Albe Laurenz"
Date:
Subject: Re: configure options