On Tue, Nov 26, 2024 at 12:07:59AM -0500, Tom Lane wrote:
> It seems plausible to me that the -D_LARGE_FILES=1 settings in our
> AIX animals' configuration are carried over from some dim past where
> we didn't have this configure test, or it was implemented even less
> correctly than now. I wonder whether Noah has any records of their
> origin.
It's tied to Python defining _LARGE_FILES when PostgreSQL doesn't. More info:
https://www.postgresql.org/message-id/flat/20180531224129.GB3343825%40rfd.leadboat.com
I have some other notes on the topic, but that thread has the major points.