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 1u5R0p-000EOU-P1 for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Apr 2025 15:18:48 +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 1u5R0n-00AaZE-D0 for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Apr 2025 15:18:46 +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 1u5R0m-00AaVO-SS for pgsql-bugs@lists.postgresql.org; Thu, 17 Apr 2025 15:18:45 +0000 Received: from flow-a8-smtp.messagingengine.com ([103.168.172.143]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u5R0j-000abw-3C for pgsql-bugs@lists.postgresql.org; Thu, 17 Apr 2025 15:18:45 +0000 Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailflow.phl.internal (Postfix) with ESMTP id 24ADD200561; Thu, 17 Apr 2025 11:18:41 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Thu, 17 Apr 2025 11:18:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm1; t=1744903121; x= 1744910321; bh=4Tyi9gjOMrN8Vz1D+oJwISwfxhr17BlDG4WTE8YIt8Q=; b=w G+zG2GseorHCDjZ+g9oANgCAQsVP1wjsyBc6IJ00VGGqyuW/iFVdOtlAalq0dxTZ X+kmrtBvIAKKoYzhk2dQzqFO+UiqJXc+gsXU9x2pIFThItLN1nBWSnAfmKReY2tL lFCYR/IQ60mONYNp5DlrbqLSPPJpbfQxGvmJ0244BmXqp7TPXs/xWBN/r3JcBDBn Eb4F0Oy2VJF88hSI5bLeSg/QmI+1dNAtIDNj222Z4vxK0FlCvf5QfcbKLbDIlTpC HrYY/yYqBymw8deWmIa9juQQ+JyA5yF10j77l5f+v7jNENlxuls/wJTToIPEBzrs B/2tXCjdEdCAKz1weCBqA== 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=fm2; t=1744903121; x=1744910321; bh=4 Tyi9gjOMrN8Vz1D+oJwISwfxhr17BlDG4WTE8YIt8Q=; b=oUqG1EBTXig2tyCUH /CiU7rMGH4RJhfLZujj8GGEBPdZwg1bSTOltL6IukAXBa6OGxyjYbCKLZBHsTMAW nneUMK/IVtJYc3mM4k4hdPBS7kYk8ypuaXmpZ7fuxw+n7mV/4tStT26gKtUmRqev I9bxziM6jbLkMI7KVCDhV9TDdg4mph9LPmGFWf9vk6IfYFxL4GD5IqLZ4KdsOb/3 8/iy6aypYyhO78Pxcajd9afWHGsfpk7ZvZI9VivkQIzAGDxl2EZFSWjcbPCwgsBc aEz7bOcXBwfWQEpFBT1tKkmigD86w3kkJ9OilLzcF+k2MUQSCh5dZWg8V4g9IT6r CwrrA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvvdeliedtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepfffhvfevuffkgggtugfgjgesthekredttddt jeenucfhrhhomheplmhlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuh hrihhlvghmuhdruggvqeenucggtffrrghtthgvrhhnpeehuedutdeiueelueejteeuveel ueekudehleelheehfeejfeehudelteffkedtleenucffohhmrghinhepvghnthgvrhhprh hishgvuggsrdgtohhmpdhthhgvlhhinhhugihrvghvihgvfidrtghomhenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgeskh hurhhilhgvmhhurdguvgdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhht pdhrtghpthhtohepjhgrphhinhhliheshhhothhmrghilhdrtghomhdprhgtphhtthhope hpghhsqhhlqdgsuhhgsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghp thhtohepkhgvihhthhdrphgrshhkvghttheslhhoghgrnhhsfidrtghomh X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 17 Apr 2025 11:18:40 -0400 (EDT) Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 548998E; Thu, 17 Apr 2025 17:18:36 +0200 (CEST) Date: Thu, 17 Apr 2025 17:18:36 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Japin Li Cc: Keith Paskett , pgsql-bugs@lists.postgresql.org Subject: Re: pg_restore error with partitioned table having exclude constraint Message-ID: <202504171518.tpkk67i7pauh@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 2025-Apr-17, Japin Li wrote: > It seems PG 16 does not support exclusion constraints on partitioned tables. Yeah, my recollection is that they were purposefully disallowed (mainly because I didn't want to research how to fully make them work when adding local partitioned indexes), and that we needed to do more work if we wanted to let them through. I suspect commit 8c852ba9a4 was mistaken to allow that case without looking for further implications. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "On the other flipper, one wrong move and we're Fatal Exceptions" (T.U.X.: Term Unit X - http://www.thelinuxreview.com/TUX/)