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 1tGNHs-002akp-Q2 for pgsql-general@arkaria.postgresql.org; Wed, 27 Nov 2024 19:01:20 +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 1tGNHr-000JjE-50 for pgsql-general@arkaria.postgresql.org; Wed, 27 Nov 2024 19:01:19 +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 1tGNHq-000Jim-H1 for pgsql-general@lists.postgresql.org; Wed, 27 Nov 2024 19:01:18 +0000 Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tGNHm-004N7s-Em for pgsql-general@lists.postgresql.org; Wed, 27 Nov 2024 19:01:17 +0000 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfout.stl.internal (Postfix) with ESMTP id B3E651140139; Wed, 27 Nov 2024 14:01:12 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Wed, 27 Nov 2024 14:01:12 -0500 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-sender :x-me-sender:x-sasl-enc; s=fm1; t=1732734072; x=1732820472; bh=5 ubVSNpgkR/w3/wwiBjLNKcoe5F8SJKSFZDFuxt+yp4=; b=Mqsgb/QvIMpcHDUSd mhGApOeKDrgdOVpHmB/gH+FQTWUHwaRIlxOLPkwwsimm+6ULpyeD+hiOtSFgpLPE IRtfoiCNRLEePy0AL6yH97uPo6chFIq657vifEyUmYZ1DxAsP1EbcTte7k4PzIr5 th3w8G4k3TMa99GXB6hcJqUOnz4HwfONnPa534mRAv76vd+7yPUdkgolNOXupzkd uCHsUnw269N3D5WIt/2gjSks1xb0stJgWFL5P13MdYGVbFqb12KD1CitvTpGw0+v mwl6sw4f9A+4Rc/mNc8dI2YAQryjsYoFyCKEZo8JzpvgIH7wuJvgGEEbhN8qb8Vo goCig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrgeelgdduudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeen ucfhrhhomheptehlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhh drnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffh jeejhffgieeuueekjeekfffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrph hrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsggprh gtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhrtghpthhtohepphgruhhlrdhfohgvrh hsthgvrhesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghl sehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehtghhlsehssh hsrdhpghhhrdhprgdruhhs X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 27 Nov 2024 14:01:11 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1732734069; bh=0MVB34aigu/pZJt0VMb5n2WIdnlAwws4M1EsvS2dBxU=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Ls/mbwKUvrqE4aygLiqZKJGtW1YlvGw4856nU0w1hCG5L8fVMapz201XO3lxvP3VW LNc7KMPdRoV0PJoZyMQMVeDU0hk5ZFfqZFbleY7oLxBRyccq8qqhytzwq07ToGVwEM AntqlOY5IlHGaIFVfmXexZUXIuprdXppMcXhJ7hMKhymMq7zwh6Uxhd9hCqyz5wx0p uZN8mdTMCVqxbogFJLuC+qKd3GPd7dYM/bhQFEjJupYN+E+1tkcd5XBNnqmRxJiSK8 vVHlzIrYwPFq0Tqyvsfd6RB8WaCVZqRK5MKg3J8NGr+O+w8yg/bnhQxjxJ97UnYzgT ObCm3kJ/KiU9g== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 84FE895; Wed, 27 Nov 2024 20:01:09 +0100 (CET) Date: Wed, 27 Nov 2024 20:01:09 +0100 From: Alvaro Herrera To: Tom Lane Cc: Paul Foerster , Adrian Klaver , pgsql-general list Subject: Re: PostgreSQL 15.10 update corrective action for ATTACH PARTITION/DETACH PARTITION Message-ID: <202411271901.6wtx66ah4sy6@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1900196.1732733556@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-Nov-27, Tom Lane wrote: > I doubt that there's anything actually wrong with the catalog state at > this point (perhaps Alvaro would confirm that). That leads to the > conclusion that what's wrong is the release notes' query for fingering > broken constraints, and it needs some additional test to avoid > complaining about (I suspect) self-reference cases. Ugh, I hadn't noticed this report, thanks for CCing me. I'll have a look at this tomorrow. You're right that I didn't think of checking self-referencing FKs with the query. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ It does it in a really, really complicated way why does it need to be complicated? Because it's MakeMaker.