--- src/pl/plpython/plpy_cursorobject.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ src/pl/plpython/plpy_cursorobject.c 2017-02-01 03:00:20 -0600 @@ -4,6 +4,10 @@ * src/pl/plpython/plpy_cursorobject.c */ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include --- src/pl/plpython/plpy_elog.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ src/pl/plpython/plpy_elog.c 2017-02-01 03:01:45 -0600 @@ -4,6 +4,10 @@ * src/pl/plpython/plpy_elog.c */ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include "lib/stringinfo.h" --- src/pl/plpython/plpy_exec.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ src/pl/plpython/plpy_exec.c 2017-02-01 03:01:59 -0600 @@ -4,6 +4,10 @@ * src/pl/plpython/plpy_exec.c */ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include "access/htup_details.h" --- src/pl/plpython/plpy_main.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ src/pl/plpython/plpy_main.c 2017-02-01 03:02:11 -0600 @@ -4,6 +4,10 @@ * src/pl/plpython/plpy_main.c */ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include "access/htup_details.h" --- src/pl/plpython/plpy_planobject.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ src/pl/plpython/plpy_planobject.c 2017-02-01 03:02:24 -0600 @@ -4,6 +4,10 @@ * src/pl/plpython/plpy_planobject.c */ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include "plpython.h" --- src/pl/plpython/plpy_plpymodule.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ src/pl/plpython/plpy_plpymodule.c 2017-02-01 03:02:34 -0600 @@ -4,6 +4,10 @@ * src/pl/plpython/plpy_plpymodule.c */ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include "mb/pg_wchar.h" --- src/pl/plpython/plpy_procedure.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ src/pl/plpython/plpy_procedure.c 2017-02-01 03:02:41 -0600 @@ -4,6 +4,10 @@ * src/pl/plpython/plpy_procedure.c */ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include "access/htup_details.h" --- src/pl/plpython/plpy_resultobject.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ src/pl/plpython/plpy_resultobject.c 2017-02-01 03:02:48 -0600 @@ -4,6 +4,10 @@ * src/pl/plpython/plpy_resultobject.c */ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include "plpython.h" --- src/pl/plpython/plpy_spi.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ src/pl/plpython/plpy_spi.c 2017-02-01 03:02:57 -0600 @@ -4,6 +4,10 @@ * src/pl/plpython/plpy_spi.c */ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include --- src/pl/plpython/plpy_subxactobject.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ src/pl/plpython/plpy_subxactobject.c 2017-02-01 03:03:06 -0600 @@ -4,6 +4,10 @@ * src/pl/plpython/plpy_subxactobject.c */ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include "access/xact.h" --- src/pl/plpython/plpy_typeio.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ src/pl/plpython/plpy_typeio.c 2017-02-01 03:03:15 -0600 @@ -4,6 +4,10 @@ * src/pl/plpython/plpy_typeio.c */ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include "access/htup_details.h" --- src/pl/plpython/plpy_util.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ src/pl/plpython/plpy_util.c 2017-02-01 03:03:23 -0600 @@ -4,6 +4,10 @@ * src/pl/plpython/plpy_util.c */ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include "mb/pg_wchar.h" --- contrib/hstore_plpython/hstore_plpython.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ contrib/hstore_plpython/hstore_plpython.c 2017-02-01 03:03:32 -0600 @@ -1,3 +1,7 @@ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include "fmgr.h" #include "plpython.h" --- contrib/ltree_plpython/ltree_plpython.c.ORIGIN 2017-02-01 02:59:08 -0600 +++ contrib/ltree_plpython/ltree_plpython.c 2017-02-01 03:03:41 -0600 @@ -1,3 +1,7 @@ +#ifdef _AIX +#define _LARGE_FILES 1 +#endif + #include "postgres.h" #include "fmgr.h" #include "plpython.h"