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 1qstXt-009yt3-N6 for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Oct 2023 23:32:17 +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 1qstXr-00FVkG-0R for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Oct 2023 23:32:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qstXq-00FVk8-N0 for pgsql-hackers@lists.postgresql.org; Tue, 17 Oct 2023 23:32:15 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qstXj-001GZe-Bk for pgsql-hackers@lists.postgresql.org; Tue, 17 Oct 2023 23:32:14 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 39HNW5pl3001172; Tue, 17 Oct 2023 19:32:05 -0400 From: Tom Lane To: Thomas Munro cc: Michael Paquier , Noah Misch , Vik Fearing , cary huang , pgsql-hackers@lists.postgresql.org Subject: Re: Add support for AT LOCAL In-reply-to: References: <2188264.1697425365@sss.pgh.pa.us> <2191749.1697427017@sss.pgh.pa.us> <20231016045804.c0@rfd.leadboat.com> <20231016055051.3a@rfd.leadboat.com> <2208907.1697435663@sss.pgh.pa.us> <20231016060510.72@rfd.leadboat.com> <2659915.1697521218@sss.pgh.pa.us> <2726901.1697556666@sss.pgh.pa.us> <2820407.1697561128@sss.pgh.pa.us> <2995973.1697583273@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Wed, 18 Oct 2023 12:11:35 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3001170.1697585525.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Tue, 17 Oct 2023 19:32:05 -0400 Message-ID: <3001171.1697585525@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > On Wed, Oct 18, 2023 at 11:54 AM Tom Lane wrote: >> Should we be testing against xlclang instead? > I hesitated to suggest it because it's not my animal/time we're > talking about but it seems to make more sense. It appears to be IBM's > answer to the nothing-builds-with-this-thing phenomenon, since it > accepts a lot of GCCisms via Clang's adoption of them. From a quick > glance at [1], it lacks the atomics builtins but we have our own > assembler magic for POWER. So maybe it'd all just work™. Discounting the Windows animals, it looks like the xlc animals are our only remaining ones that use anything except gcc or clang. That feels uncomfortably like a compiler monoculture to me, so I can understand the reasoning for keeping hornet/mandrill going. Still, maybe we should just accept the fact that gcc/clang have outcompeted everything else in the C compiler universe. It's getting hard to imagine that anyone would bring out some new product that didn't try to be bug-compatible with gcc, for precisely the reason you mention. regards, tom lane