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 1n9Ust-0001Q2-JM for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Jan 2022 16:29:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n9Uss-0008Uu-7K for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Jan 2022 16:29:30 +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 1n9Usr-0008Uj-UE for pgsql-hackers@lists.postgresql.org; Mon, 17 Jan 2022 16:29:29 +0000 Received: from wnew2-smtp.messagingengine.com ([64.147.123.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n9Usp-0000ll-1H for pgsql-hackers@postgresql.org; Mon, 17 Jan 2022 16:29:28 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id DEBB22B001E1; Mon, 17 Jan 2022 11:29:24 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 17 Jan 2022 11:29:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=FtL2Q1mIJRyB6TVeIXFMA1mttBCnJzHGogsrGuzZe4o=; b=ZBYX33jj 3yzwn/whT5iAkWwFTM35/euEPQUtVWVNyJtoCDY+aGQaBsPUDAlQx5xexJ/HMI7q HuxpoAQw+6rKv7xyZB97UjmaO9bc1viQnvZY4i1XiyoFbKyxKa5gNVEt24NSyhCo 9rbs7a16aKhXj+yuk1tfnkJ2kfV7oaq/D+LIeMmEDFB7sWY9BfPCDWjxrOAAHVlI WkjlTfIZUuf853qPJmIj9b8ns2BjGRKcPRHYpyxiCGJp/788Z0aMMzlkwCkVvDxd aJc7AQ4Oi9jXegVSPgA4gkkuVTFLm1+Nz/Jc9YmxN0AvEvbFTUZtJCbn4wjz3MGT oKjIdiO8zpCTdA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddugdeltdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqne cuggftrfgrthhtvghrnhepudejveejffejveduudetvdekieeuiedtvdeileefkeevjedu feeguedvjefhueelnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgv rhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 17 Jan 2022 11:29:23 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 5BACF2A06D7; Mon, 17 Jan 2022 13:29:20 -0300 (-03) Date: Mon, 17 Jan 2022 13:29:20 -0300 From: Alvaro Herrera To: Zhihong Yu Cc: Amit Langote , Andrew Dunstan , Ibrar Ahmed , Arne Roland , "David G. Johnston" , Masahiko Sawada , Peter Eisentraut , PostgreSQL-development , Rahila Syed , Tomas Vondra Subject: Re: a misbehavior of partition row movement (?) Message-ID: <202201171629.lsy5orykpjqa@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 2022-Jan-17, Zhihong Yu wrote: > On Mon, Jan 17, 2022 at 6:26 AM Alvaro Herrera > wrote: > > On 2022-Jan-17, Amit Langote wrote: > > The other is suggested by you: > > > > > Another thing to consider is that we haven't seen many reports of the > > > problem (UPDATEs of partitioned PK tables causing DELETEs in > > > referencing tables), even though it can be possibly very surprising to > > > those who do run into it. > > > > Do nothing in the old branches. > I think option 2, not backpatching, is more desirable at this stage. Preliminarly, I tend to agree. -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/