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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql-server/src/include/port hpux.h
Date: 2002-09-02 18:02:23
Message-ID: Pine.LNX.4.44.0209021945340.918-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-09-02 19:02:02 pgsql-server/doc/TODO.detail privileges
Previous Message Bruce Momjian - CVS 2002-09-02 17:34:57 pgsql-server/src/tools pgcvslog

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-09-02 20:07:08 reindex of toast tables
Previous Message Bruce Momjian 2002-09-02 16:46:10 Re: I am done