Re: AIX support

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Sriram RK <sriram(dot)rk(at)outlook(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Noah Misch <noah(at)leadboat(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, "tvk1271(at)gmail(dot)com" <tvk1271(at)gmail(dot)com>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: AIX support
Date: 2024-04-20 15:42:03
Message-ID: 6cc5001e-3001-438a-85fd-3bd2d9c2d8e4@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 19.04.24 13:04, Sriram RK wrote:
> For any complier/hardware related issue we should able to provide support.
>
> We are in the process of identifying the AIX systems that can be added
> to the CI/buildfarm environment.

I think we should manage expectations here, if there is any hope of
getting AIX support back into PG17.

I have some sympathy for this. The discussion about removing AIX
support had a very short turnaround and happened in an unrelated thread,
without any sort of public announcement or consultation. So this report
of "hey, we were still using that" is timely and fair.

But the underlying issue that led to the removal (something to do with
direct I/O support and alignment) would still need to be addressed. And
this probably wouldn't just need some infrastructure support; it would
require contributions from someone who actively knows how to develop on
this platform. Now, direct I/O is currently sort of an experimental
feature, so disabling it on AIX, as was initially suggested in that
discussion, might be okay for now, but the issue will come up again.

Even if this new buildfarm support is forthcoming, there has to be some
sort of deadline in any resurrection attempts for PG17. The first beta
date has been set for 23 May. If we are making the reinstatement of AIX
support contingent on new buildfarm support, those machines need to be
available, at least initially, at least for backbranches, like in a
week. Which seems tight.

I can see several ways going forward:

1. We revert the removal of AIX support and carry on with the status quo
ante. (The removal of AIX is a regression; it is timely and in scope
now to revert the change.)

2. Like (1), but we consider that notice has been given, and we will
remove it early in PG18 (like August) unless the situation improves.

3. We leave it out of PG17 and consider a new AIX port for PG18 on its
own merits.

Note that such a "new" port would probably require quite a bit of
development and research work, to clean up all the cruft that had
accumulated over the years in the old port. Another looming issue is
that the meson build system only supported AIX with gcc before the
removal. I don't know what it would take to expand that to support
xclang, but if it requires meson upstream work, you have that to do, too.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2024-04-20 16:25:47 Re: AIX support
Previous Message Tom Lane 2024-04-20 14:58:31 Re: Performance of JSON_TABLE vs jsonb_to_recordset