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 1ncZlg-0004NQ-0k for pgsql-committers@arkaria.postgresql.org; Thu, 07 Apr 2022 21:34:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ncZld-0007aR-IB for pgsql-committers@arkaria.postgresql.org; Thu, 07 Apr 2022 21:34:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncZlc-0007a3-5y for pgsql-committers@lists.postgresql.org; Thu, 07 Apr 2022 21:34:13 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncZlY-0002pQ-VS for pgsql-committers@lists.postgresql.org; Thu, 07 Apr 2022 21:34:10 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id CBAC53201F49; Thu, 7 Apr 2022 17:34:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 07 Apr 2022 17:34:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=P48NJebFEBX4BX8oHHSfBQTcrtA1Nv2uT6ghH90nZHk=; b=a0Fnv1FE aX70deaGzRQ2/L4QuZBlnk+BcZyKE+7Yyl3GxFO3VvhVrQOMKiKfiGiKu+2LJE7W BAQEoHJCcud347QrqHSK8dpco5rAV6j5VjGwQoER1SckfmkHzpLQi8mdZgxCn5d0 S95Tnwz7I0/Va1Z8Y7VhpGHaxkob11egZ1iitVUTotfYu+xT0fev5sTP98kAChK/ Am1TW0X3lao2CT6dbIF96PDWXqgiJGq19xNUUmMg/NCH+aeEE6Y/Tf+2W6zhrNDZ 9tKPa2SREguPyGtUMgXaniqrKNodbVOHB2LklYm6CCcfut6lP/vxU+VQvkp5X2CE 72n2MeJj0o1fSw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudejkedgudeihecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggugfgjsehtke ertddttdejnecuhfhrohhmpeetlhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhr vgesrghlvhhhrdhnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpeelfeekhffgle etieegjeekvdejvdelhfeuheefvdejheeuteevteejkeeufffgheenucffohhmrghinhep phhoshhtghhrvghsqhhlrdhorhhgpdgvnhhtvghrphhrihhsvggusgdrtghomhenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhr vgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 7 Apr 2022 17:34:05 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 3E90B2A079D; Thu, 7 Apr 2022 17:34:03 -0400 (-04) Date: Thu, 7 Apr 2022 23:34:03 +0200 From: Alvaro Herrera To: Tom Lane Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Rewrite some RI code to avoid using SPI Message-ID: <202204072134.sou3laebxj7c@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3400437.1649363527@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Apr-07, Tom Lane wrote: > 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. Several animals failed already in ways that look obviously connected to this commit, so I can't disagree: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=grison&dt=2022-04-07%2020%3A12%3A22 https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lapwing&dt=2022-04-07%2020%3A40%3A16 https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=florican&dt=2022-04-07%2021%3A18%3A46 > (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. I must have misread, then, that you were not as adamantly opposed to the idea as in your first email to the thread. I'll revert, keeping the new test. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "If you have nothing to say, maybe you need just the right tool to help you not say it." (New York Times, about Microsoft PowerPoint)