Re: pg_dump and large files - is this a problem? - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: pg_dump and large files - is this a problem?
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA4961ED9@m0114.s-mxs.net
Whole thread Raw
In response to pg_dump and large files - is this a problem?  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: pg_dump and large files - is this a problem?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> >> Yeah.  AFAICS the only way around this is to avoid doing any I/O
> >> operations in the flex-generated files.  Fortunately,
> that's not much
> >> of a restriction.
>
> > Unfortunately I do not think that is sufficient, since the problem is already
> > at the #include level. The compiler barfs on the second #include <unistd.h>
> > from postgres.h
>
> AIX is too stupid to wrap unistd.h in an "#ifndef" to protect against
> double inclusion?  I suppose we could do that for them...

I guess that is exactly not wanted, since that would hide the actual
problem, namely that _LARGE_FILE_API gets defined (off_t --> 32bit).
Thus I think IBM did not protect unistd.h on purpose.

Andreas


pgsql-hackers by date:

Previous
From: David Walker
Date:
Subject: Re: Turning the PLANNER off
Next
From: Robert Treat
Date:
Subject: Re: Request for supported platforms