Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncYnf-0000Es-T6 for pgsql-committers@arkaria.postgresql.org; Thu, 07 Apr 2022 20:32:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ncYnd-0004T7-PA for pgsql-committers@arkaria.postgresql.org; Thu, 07 Apr 2022 20:32:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncYnd-0004Sw-IF for pgsql-committers@lists.postgresql.org; Thu, 07 Apr 2022 20:32:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncYnb-000618-7W for pgsql-committers@lists.postgresql.org; Thu, 07 Apr 2022 20:32:12 +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 237KW7583400438; Thu, 7 Apr 2022 16:32:07 -0400 From: Tom Lane To: Alvaro Herrera cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Rewrite some RI code to avoid using SPI In-reply-to: References: Comments: In-reply-to Alvaro Herrera message dated "Thu, 07 Apr 2022 19:11:01 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3400436.1649363527.1@sss.pgh.pa.us> Date: Thu, 07 Apr 2022 16:32:07 -0400 Message-ID: <3400437.1649363527@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > Rewrite some RI code to avoid using SPI Just for the record, I didn't approve of that patch, and I don't think cramming it in a few hours before feature freeze is a good way to proceed. (1) We've added enough instability to the tree this week already. (2) I'm still quite unhappy about the idea that this particular type of FK check will be done using fundamentally different methods than every other type of FK check. I think that is inevitably going to lead to semantic inconsistencies. regards, tom lane