Re: [HACKERS] Linux Largefile Support In Postgresql RPMS - Mailing list pgsql-general

From Oliver Elphick
Subject Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Date
Msg-id 1029014438.31339.507.camel@linda
Whole thread Raw
In response to Re: [HACKERS] Linux Largefile Support In Postgresql RPMS  (Mark Kirkwood <markir@slingshot.co.nz>)
List pgsql-general
On Sat, 2002-08-10 at 06:32, Mark Kirkwood wrote:
> Oliver Elphick wrote:
>
> >As far as I can make out from the libc docs, largefile support is
> >automatic if the macro _GNU_SOURCE is defined and the kernel supports
> >large files.
> >
> >Is that a correct understanding? or do I actually need to do something
> >special to ensure that pg_dump supports large files?
> >
> I defined
>
> _LARGEFILE_SOURCE  and
> _FILE_OFFSET_BITS=64
>
> however _GNU_SOURCE may well be a cleaner way of getting the same effect
> (guess I should browse the .h files...)

It seems that it has to be defined explicitly.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "If ye abide in me, and my words abide in you, ye shall
      ask what ye will, and it shall be done unto you."
                                      John 15:7


pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Upgrading on RH72
Next
From: Patrick Nelson
Date:
Subject: Re: Upgrading on RH72