Re: [HACKERS] Linux Largefile Support In Postgresql RPMS

From: Mark Kirkwood <markir(at)slingshot(dot)co(dot)nz>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
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 05:32:23
Message-ID: 3D54A567.5060200@slingshot.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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...)

regards

Mark

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tatsuo Ishii 2002-08-10 06:51:26 Re: [GENERAL] workaround for lack of REPLACE() function
Previous Message Mark Kirkwood 2002-08-10 05:25:25 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2002-08-10 06:51:26 Re: [GENERAL] workaround for lack of REPLACE() function
Previous Message Mark Kirkwood 2002-08-10 05:25:25 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS