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 1taylT-006uNY-KA for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Jan 2025 15:05:04 +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 1taylS-00H40Q-Ok for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Jan 2025 15:05:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tayl4-00H0uI-RF for pgsql-hackers@lists.postgresql.org; Thu, 23 Jan 2025 15:04:39 +0000 Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tayl2-0016u2-1n for pgsql-hackers@lists.postgresql.org; Thu, 23 Jan 2025 15:04:37 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id E01271140153; Thu, 23 Jan 2025 10:04:35 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Thu, 23 Jan 2025 10:04:35 -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=fm3; t=1737644675; x=1737731075; bh=X yiYOiYaPOWM9whWaS/Kxbc8ncbedP65TwUBPk6KS9E=; b=N5V2vxTqAkfIT7/np ls2JxgulWfpCmPjtZYLGwzn0C85qemDjBl1UBaKUYMAYJZoWECj1g5gWdaN6wyDK rDIOaM2S8K0OMSKH4w/YFBnQ5dZoWoQvte7YXoyx3xc0almiPRyloQgGf8kl0LM4 ujRxbPsgcwYZLzFl2qa23Wg/oig/mQbsosCNN28ERnrHKAbMCxMdZGYXNgmwAMQI yIMn419gygqhO0V5OVTaHWssOdSFFwhUwWLCfmIkF8tyCoteJz9HuGeZGd5yuBF2 lj+dA8R3SuxNQVAvxboErQIK/bo+zFSXe3XCYaFhmmW7coFFFzHnwno5ofMhjtIZ 0kIRA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudejgedgudeljecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpeffhffvvefukfggtggugfgjsehtkeertddttdej necuhfhrohhmpemllhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvh hhrdhnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpedvheeuffehgfeukeeufeeh hefghfeugfefudekjeevudffgeffkeegffffveegheenucffohhmrghinhepvghnthgvrh hprhhishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrghdpnhgspg hrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhulhgrmhhu lhesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlih hsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 Jan 2025 10:04:35 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1737644672; bh=XP+mlRo+qU0KcGEBO8A+eEbIfmVawFQ/zdm4oaEhFtA=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=O8lhTYeJFoI/L3W0y3PCITyCpX8jqKbDxS9Fc/3syQj4VZ/G961tZHXIZ780NuCzZ oXROc06J2hg6WHpMaNhAoUrV0seFPS/n53o21pjfWAeTGBjl7gp6XIb6ViwFUOXE0V NloLIJuK/AWC01ELjIjnV2hNgKTwy3CQ0Xu4LFvmvR2R0bFUi628IuLMuclH17FolA ouZG0IedjhkxJXT1ZudiUlMgceqAe5JS9hLACEpxQ+KNaQYTQRCGgCexdG0jS40Pf/ YX5Q05YrfIkvJqcM3T4KazoypS2GjvjULfjqVX2uRCTbl5TJ3Y8fq+CNNDzvmmtgRV qrVdcdEDVQdxw== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id E98AC8A; Thu, 23 Jan 2025 16:04:32 +0100 (CET) Date: Thu, 23 Jan 2025 16:04:32 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Amul Sul Cc: "pgsql-hackers@lists.postgresql.org" Subject: Re: Allow NOT VALID foreign key constraints on partitioned tables. Message-ID: <202501231504.4kgstjs6b7ae@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-Jan-22, Amul Sul wrote: > You’re correct; it’s fixed in the attached version, along with an > assert(!convalidated) in QueueFKConstraintValidation(), and I’ve > included tests to cover the change. Thanks for reviewing this patch. OK thanks, looks good, I have pushed it now with some trivial amendments. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Java is clearly an example of money oriented programming" (A. Stepanov)