Re: [HACKERS] Linux Largefile Support In Postgresql RPMS

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Дата
Msg-id 1029014438.31339.507.camel@linda
обсуждение исходный текст
Ответ на Re: [HACKERS] Linux Largefile Support In Postgresql RPMS  (Mark Kirkwood <markir@slingshot.co.nz>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Upgrading on RH72
Следующее
От: Patrick Nelson
Дата:
Сообщение: Re: Upgrading on RH72