postgresql-9.6.1-new2-LARGE_FILES.patch

text/x-patch

Filename: postgresql-9.6.1-new2-LARGE_FILES.patch
Type: text/x-patch
Part: 0
Message: Re: Deadlock in XLogInsert at AIX

Patch

Format: unified
File+
src/include/postgres.h 4 0
--- src/include/postgres.h.ORIGIN	2017-02-01 07:32:04 -0600
+++ src/include/postgres.h	2017-02-01 07:32:29 -0600
@@ -44,6 +44,10 @@
 #ifndef POSTGRES_H
 #define POSTGRES_H
 
+#ifdef _AIX
+#define _LARGE_FILES 1
+#endif
+
 #include "c.h"
 #include "utils/elog.h"
 #include "utils/palloc.h"