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

From Mark Kirkwood
Subject Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Date
Msg-id 3D54A567.5060200@slingshot.co.nz
Whole thread Raw
In response to Re: [HACKERS] Linux Largefile Support In Postgresql RPMS  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Responses Re: [HACKERS] Linux Largefile Support In Postgresql RPMS  (Oliver Elphick <olly@lfix.co.uk>)
List pgsql-general
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




pgsql-general by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Next
From: Josh Jore
Date:
Subject: Re: Efficient use of space in large table?