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 1uyFT9-005bkw-0l for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Sep 2025 20:06:35 +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 1uyFT6-00DQJk-Q1 for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Sep 2025 20:06:33 +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 1uyFT6-00DQJc-Gf for pgsql-hackers@lists.postgresql.org; Mon, 15 Sep 2025 20:06:33 +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.96) (envelope-from ) id 1uyFT3-0010D3-13 for pgsql-hackers@lists.postgresql.org; Mon, 15 Sep 2025 20:06:33 +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 58FK6QXe658985; Mon, 15 Sep 2025 16:06:26 -0400 From: Tom Lane To: Robert Haas cc: Dilip Kumar , maximilian.chrzan@here.com, pgsql-hackers@lists.postgresql.org Subject: Re: BUG #18959: Name collisions of expression indexes during parallel Index creations on a pratitioned table. In-reply-to: References: <18959-f63b53b864bb1417@postgresql.org> <1081051.1750260111@sss.pgh.pa.us> <1138732.1750265195@sss.pgh.pa.us> <1802526.1750366786@sss.pgh.pa.us> <2315732.1756482946@sss.pgh.pa.us> <618784.1757952926@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Mon, 15 Sep 2025 14:23:45 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <658983.1757966786.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Mon, 15 Sep 2025 16:06:26 -0400 Message-ID: <658984.1757966786@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > On Mon, Sep 15, 2025 at 12:15 PM Tom Lane wrote: >> So, how do we move forward? I'm perfectly willing to look into >> the derive-a-name-from-the-expression idea, but I think that'd >> best be done in a separate patch. > I'm not sure. To me, the munging of everything together under the name > "expr" is the root of the problem here, and since this patch isn't > really addressing that problem, it's kind of to one side of what I see > as the main point. However, that's a judgement call, and if you or > others see it differently, then so be it. Well, let's leave it as a difference of opinion for the moment. I do agree that improving the names generated for expression indexes would be useful independently of this. I propose setting this patch aside for the time being, and I will go look into that, and then if that gets accepted we can come back here and discuss how much of a problem remains. regards, tom lane