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 1sgEZn-00H5mX-42 for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Aug 2024 02:26:27 +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 1sgEYm-006ajY-GH for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Aug 2024 02:25:25 +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 1sgEYl-006ajQ-7R for pgsql-hackers@lists.postgresql.org; Tue, 20 Aug 2024 02:25:24 +0000 Received: from fout6-smtp.messagingengine.com ([103.168.172.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sgEYg-000XTb-Sv for pgsql-hackers@postgresql.org; Tue, 20 Aug 2024 02:25:23 +0000 Received: from phl-compute-08.internal (phl-compute-08.nyi.internal [10.202.2.48]) by mailfout.nyi.internal (Postfix) with ESMTP id A425F138FFC3; Mon, 19 Aug 2024 22:25:17 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Mon, 19 Aug 2024 22:25:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724120717; x= 1724207117; bh=iK00LPggbGSIT5qc5RYTykYlyy5EEEMHpyxlvX1EM20=; b=m w/Q4uGBa0RF1Wf6PUy82J64f9JJjpfy/EM52SqxJCMRpf3xaH6UmWnozJ/u76CtW F0Nrqi2jsWUDh0zLVmkzDMYeqdNrZEM1YHMSd9aRZ/eDDcZ1MM0X4Y5ZmCU9Ywxp uqdlVj0dLtWPsOf/c35WbsitCEvOPWsyjCEWVXvu0h90AM+tKrLuh+O0+y/rlxnR G7vM0jpO2pHGvL6jJ4K1lf607hV2y0yOmfsINQY2fewtJVPi8EAM0HOlAnfymBsL RJawrRrcGO/NhxNBY/v2C8so8nIJ/bHBtf4K/98rr4X9L3u0p2Kbu9k2q+f7Sz0a 0L9aOMlXK3f0GibReFMhg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudduhedgiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeen ucfhrhhomheptehlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhh drnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffh jeejhffgieeuueekjeekfffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrph hrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsggprh gtphhtthhopeejpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehjghgurhesuggr lhhisghordgtohhmpdhrtghpthhtohepvgigtghluhhsihhonhesghhmrghilhdrtghomh dprhgtphhtthhopehtnhgurhifrghnghesghhmrghilhdrtghomhdprhgtphhtthhopeii hhhjfihpkhhusehgmhgrihhlrdgtohhmpdhrtghpthhtohepghhuihhllhgruhhmvgeslh gvlhgrrhhgvgdrihhnfhhopdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesphho shhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepthhhohhmrghsrdgsrggvhhhlvghrvd esshgssgdrtghh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 19 Aug 2024 22:25:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1724120713; bh=WOLuni8oCFU0dhZZ3P/ZKn4kfXTHkInnHKMJBWMI7Fg=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=IFmiA8y3d7z7nzpr8C6qCZA6FyR1A61goZkVyiNTPCgLmDB3GFaIVzHoyAhTnTkez X5bawTOqwLfXBEwP/CaVt+jxiiApUVpSdZ7BQaOyxP+9QuDcFj9CTwnAW3KGebSrmh QE3Me2/jI3gBXW7+aGm4rPnCeEgB/Tzxo0fRQFkr+5ESKBBueWGPwHyRA/FFw+dtC0 2w2uoN3DEWfwyqsDTKRqePLO+5GZyXNtwgt86D9TuWigumZVhesdUHjh6xdYUd+0+8 hvxxQfAoFBnPglRbK4AbGVP0rWygFtjo2LOWLFdZ+VePWes1+HLpw726SLSmF7+588 earyveTAlGHEg== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 3CB0AE9; Mon, 19 Aug 2024 22:25:13 -0400 (-04) Date: Mon, 19 Aug 2024 22:25:13 -0400 From: Alvaro Herrera To: Tender Wang Cc: Junwang Zhao , Jehan-Guillaume de Rorthais , "pgsql-hackers@postgresql.org" , Alexander Lakhin , Baehler Thomas SBB CFF FFS , Guillaume Lelarge Subject: Re: [BUG] Fix DETACH with FK pointing to a partitioned table fails Message-ID: <202408200225.lasmb6pskolh@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-Aug-20, Tender Wang wrote: > > As I understand, this fix needs to be applied all the way back to 12, > > because the overall functionality is that old. However, in branches 14 > > and back, the patch doesn't apply cleanly, because of the changes we > > made in commit f4566345cf40 :-( I'm tempted to fix it in branches 15, > > 16, 17, master now and potentially backpatch later, to avoid dragging > > things along further. It's taken long enough already. > > I haven't seen this patch on master. Is there something that we fotget to > handle? I haven't pushed it yet, mostly because of being unsure about not doing anything for the oldest branches (14 and back). -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Java is clearly an example of money oriented programming" (A. Stepanov)