Re: [HACKERS] Linux Largefile Support In Postgresql RPMS

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Mark Kirkwood <markir(at)slingshot(dot)co(dot)nz>
Cc: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Date: 2002-08-10 21:20:37
Message-ID: 1029014438.31339.507.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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(dot)Elphick(at)lfix(dot)co(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Nelson 2002-08-10 21:46:46 Re: Upgrading on RH72
Previous Message Alvaro Herrera 2002-08-10 18:30:00 Re: Upgrading on RH72

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2002-08-10 22:05:27 AnonCVS woes
Previous Message Rod Taylor 2002-08-10 20:51:24 Dump serials as serial