Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzpxf-007Bo8-Kk for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Apr 2024 03:39:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rzpxd-002S7Z-KP for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Apr 2024 03:39:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzpxd-002S7Q-Aq for pgsql-hackers@lists.postgresql.org; Thu, 25 Apr 2024 03:39:49 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzpxW-004WQT-He for pgsql-hackers@postgresql.org; Thu, 25 Apr 2024 03:39:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=+F6eqLj2mXpqMtazAT21q0+AW55SuvMffQCMcLe/ODI=; b=CeEpu CWngxqXvoQL30BPe0XZpkSz2arJ/UhHAB9+oZ77pbYUbuSCmFyWqeh+lK+QwQkvS8gTfcVZctLb7c 7cFc+U2tgR0o/CG7q35IijBKcmfgILmlbIQChB8JwzHfENIlil8u0UqSf7RUmacF4usudqGdRxnso ExoW6ObZ9erEnnQ6M9b/HIz6z9AYyEZL2DxgyPDHohGzTDaUbefU9kAtSdjWK7yvXUcyxcgXSb3c0 Q8Z0r5+qhDPOSL42rbkZoO3kM0PW9uGAnAoipXsrSOY53JOIVb9yvXj7Estau71BPvmRhXUPsCIkP u7qDzVeniw3s4wPBWGYn4ALDKpvDw==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1rzpxR-0026n8-2R; Wed, 24 Apr 2024 23:39:37 -0400 Date: Wed, 24 Apr 2024 23:39:37 -0400 From: Bruce Momjian To: Tom Lane Cc: Peter Eisentraut , Sriram RK , Andres Freund , Thomas Munro , Noah Misch , Alvaro Herrera , "pgsql-hackers@postgresql.org" , "tvk1271@gmail.com" , Heikki Linnakangas Subject: Re: AIX support Message-ID: References: <3847604.1711683217@sss.pgh.pa.us> <20240405172649.d1@rfd.leadboat.com> <20240418180128.uzzgx4r6ujgrz2eo@awork3.anarazel.de> <6cc5001e-3001-438a-85fd-3bd2d9c2d8e4@eisentraut.org> <2476719.1713630347@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2476719.1713630347@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Apr 20, 2024 at 12:25:47PM -0400, Tom Lane wrote: > > 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. > > Andres has ably summarized the reasons why the status quo ante was > getting untenable. The direct-I/O problem could have been tolerable > on its own, but in reality it was the straw that broke the camel's > back so far as our willingness to maintain AIX support went. There > were just too many hacks and workarounds for too many problems, > with too few people interested in looking for better answers. > > So I'm totally not in favor of #1, at least not without some hard > commitments and follow-through on really cleaning up the mess > (which maybe looks more like your #2). What's needed here, as > you said, is for someone with a decent amount of expertise in > modern AIX to review all the issues. Maybe framing that as a > "new port" per #3 would be a good way to think about it. But > I don't want to just revert the AIX-ectomy and continue drifting. > > On the whole, it wouldn't be the worst thing in the world if PG 17 > lacks AIX support but that comes back in PG 18. That approach would > solve the schedule-crunch aspect and give time for considered review > of how many of the hacks removed in 0b16bb877 really need to be put > back, versus being obsolete or amenable to a nicer solution in > late-model AIX. If we take a "new port" mindset then it would be > totally reasonable to say that it only supports very recent AIX > releases, so I'd hope at least some of the cruft could be removed. I agree that targeting PG 18 for a new-er AIX port is the reasonable approach. If there is huge demand, someone can create an AIX fork for PG 17 using the reverted patches --- yeah, lots of pain there, but we have carried the AIX pain for too long with too little support. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.