Re: [COMMITTERS] pgsql-server/src/include/port hpux.h - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [COMMITTERS] pgsql-server/src/include/port hpux.h
Date
Msg-id Pine.LNX.4.44.0209021945340.918-100000@localhost.localdomain
Whole thread Raw
Responses Re: [COMMITTERS] pgsql-server/src/include/port hpux.h
List pgsql-hackers
Tom Lane writes:

> What I'm currently thinking we should do is default largefile support to
> off in HPUX < 11.0; is there a convenient way to accomplish that in
> autoconf?

Something like this maybe (before AC_SYS_LARGEFILE):

case $host_os in hpuxZYX*)
if test "${enable_largefile+set}" != set; then
enable_largefile=no
fi
esac

I found an HP whitepaper on the large file support and it seems they don't
have the problem of missing declarations.

http://docs.hp.com/hpux/onlinedocs/os/lgfiles4.pdf

Note the example in section 6.4.1.  On page 37 they grep the preprocessed
source and somehow manage to get a declaration of __lseek64() in there.
Maybe it's a later OS release.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: I am done
Next
From: Bruce Momjian
Date:
Subject: reindex of toast tables