Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Zeugswetter Andreas SB SD wrote:
>
> On AIX 4.3.2 dlfcn.h is not compatible with fcntl.h in the given constellation
> (both define FREAD and FWRITE differently) and since fcntl.h in c.h is only needed
> for O_BINARY I suggest to include fcntl.h only if O_BINARY is needed.
>
> Second, LLONG_MIN (used in ecpg's misc.c) is not available on AIX.
> I am not sure whether the original has a typo there or not
> (using LONG_LONG_MIN instead of LONGLONG_MIN) (patch assumes no typo) ?
>
> Fix for both attached, please (consider to) apply.
> At least the second part of the patch has no risk, as far as I can see.
>
> Andreas
Content-Description: aix_fcntl.patch
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073