Michael Paquier wrote:
> On Thu, Nov 23, 2017 at 7:57 PM, REIX, Tony <tony.reix@atos.net> wrote:
> > I invite anyone involved in porting/using PostgreSQL 10.1 on AIX to take
> > part of a discussion about how to make v10.1 work perfectly on AIX.
>
> Note that xlc 12.1 is tested with AIX machines on the buildfarms, but
> there is no coverage for 13.1 visibly. It would be nice if you could
> set up a buildfarm machine to catch problems way earlier.
Other problems have been reported, too; see
https://www.postgresql.org/message-id/2fc764c7-2222-83e3-45c2-33c17853e13f@atos.net
and others in the thread.
The fact that a problem goes away when the compile doesn't have -O2
suggests a compiler bug.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services