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 1ldioa-0005fv-GU for pgsql-bugs@arkaria.postgresql.org; Tue, 04 May 2021 00:21:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ldioZ-0004QL-85 for pgsql-bugs@arkaria.postgresql.org; Tue, 04 May 2021 00:21:27 +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 1ldioY-0004QE-CX for pgsql-bugs@lists.postgresql.org; Tue, 04 May 2021 00:21:27 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldioU-0004oQ-2B for pgsql-bugs@lists.postgresql.org; Tue, 04 May 2021 00:21:26 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 54DB75C0058; Mon, 3 May 2021 20:21:19 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 03 May 2021 20:21:19 -0400 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= fm2; bh=RWYxJCPU+7k7pV8oo1c/TStyk24N3ZYuEEOHMz0HJ8w=; b=EBWFlS3h x1DtWpeHJnY3m9DRxKChVlSMhSkPgu3Bw+F7YSl7MxeYnVp2vKqs+Hhc07OIfeyG KkJR24eV1RiyofHlHU0J7CDyk3eAyRJfnEoLezMuMBjDkVUzO4revfEd6XCC/YAd qisBqpNHfTjHeV2ArClzRNArse+O9j+MBDxCiXbFFFCYkz3iVZZMbxDxPhR7RQVM nIxLD8FRWoTYJj+CkUPQuq5AYgxRsfzCLMz1YrDZA54t/eFqW+YXwK8/be3ZK5rH H5TjE2Pw2hxsrisj+QQMavJYTUgyZTsx8RIJWI3vQluEX6izwj5k4xhHbDmC4w0I u9Fb8zJJ5pb+KQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefhedgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugfgjggfsehmke erredtredunecuhfhrohhmpeetlhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhr vgesrghlvhhhrdhnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpefhfeegleekgf ejueehgfefveelfeetvdehffdtueetgffhkefhudehffekudetkeenucfkphepudeltddr leehrdduledrleehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 3 May 2021 20:21:18 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 060C12A0ADC; Mon, 3 May 2021 20:21:16 -0400 (-04) Date: Mon, 3 May 2021 20:21:16 -0400 From: Alvaro Herrera To: Tom Lane Cc: pgsql-bugs@lists.postgresql.org Subject: Re: ALTER CONSTRAINT on a partitioned FK isn't working Message-ID: <20210504002116.GA23860@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210503231633.GA6994@alvherre.pgsql> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit This backpatches to 12 and 13 cleanly, but 11 needs a completely different patch -- attached. -- Álvaro Herrera Valdivia, Chile Maybe there's lots of data loss but the records of data loss are also lost. (Lincoln Yeoh) --WIyZ46R2i8wDzkSu Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-fix-ALTER-CONSTRAINT-for-partitioned-tables.patch"