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 1tDQuy-000en8-OX for pgsql-general@arkaria.postgresql.org; Tue, 19 Nov 2024 16:17:33 +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 1tDQux-00EMIt-4l for pgsql-general@arkaria.postgresql.org; Tue, 19 Nov 2024 16:17:31 +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 1tDQuv-00EMIl-QU for pgsql-general@lists.postgresql.org; Tue, 19 Nov 2024 16:17:30 +0000 Received: from fhigh-b1-smtp.messagingengine.com ([202.12.124.152]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tDQun-002mB7-Rp for pgsql-general@lists.postgresql.org; Tue, 19 Nov 2024 16:17:29 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id B3B6E254007B; Tue, 19 Nov 2024 11:17:18 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Tue, 19 Nov 2024 11:17:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1732033038; x=1732119438; bh=0ebLRzurBW0Zx2wXmFn70ZRh0LQkolFhk0mT1gz65F0=; b= JbUH4BupaxHWno5LbOFVP6/M/Bx8QGEgH8kT0U9Ol4sOJZhj/Mp9+rlvfgj5HFHx eWmLjl/Sfg2XbK47IA9saaYrx6pP6EH31CZSH1O39XbSon0w92cI+z1fP8sW0APc vaxLOBuoFuNOlyK82sv0N8z7htWkyRhp4BG8U1mj/BbFceiWLep6YuE90e2JvvJh 8rSxyHVjo+s1g75JhkN44F5z7razgxktxLpn3xzVcOKdF6aaPi41V1LtaFHunwW6 fzi0i1eJbCjn4sXVZOH6ZRZF3FLZ7D8sruP/5OWMNQM3I6Y40QE86OJyrhq6+ZsW asYHyETtVnac7aMf5+/7uQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1732033038; x=1732119438; bh=0 ebLRzurBW0Zx2wXmFn70ZRh0LQkolFhk0mT1gz65F0=; b=FK9DJsnLX0Z9ZlSnw EOVygj4OS0iLa5ZS0mXMiE/EDPVrnifT3T+5uJMuWWSzVtdDj8VH7XqW6oqujENs bXpihjdU3AlkHkyigHn8kecsfOwyM+UHQOMFVWmX85uAlL5dnwg3ZkM25PsH9EOX c4QbDfrZu5SNce+EyXscjkBfKBr217q1sRL1W5+FMst5HYoPs8rErv/uqmEnr58C jpV+X2wCVqmwcJ9MCEavDaebbihFy/y5TyxLGB/qTWxjdsSaUvCDlrqha84hl0lJ +x0ZZm/LbISh8yCPa9Uo4zrvu3ShqKEuHRJ2dy5q1yExfv9pqQkDsR3wfG2YpAVP VkWkA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrfedvgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecu hfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrg hklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepkeefheduvdejiefgieefjedt udduffelvdefleehfedtieffuefgvdekleegtddvnecuffhomhgrihhnpehpohhsthhgrh gvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprh gtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehprghulhdrfhho vghrshhtvghrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrh grlheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 19 Nov 2024 11:17:17 -0500 (EST) Message-ID: Date: Tue, 19 Nov 2024 08:17:16 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: PostgreSQL 15.9 Update: Partitioned tables with foreign key constraints To: Paul Foerster , pgsql-general list References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/19/24 08:11, Paul Foerster wrote: > Hi, > > the PostgreSQL 15.9 release notes instruct to look out for especially detached partitions with foreign key constraints. I'm in the process of updating our databases from 15.8 to 15.9 now and found a case where the select statement returns a constraint. > > The release notes say nothing about when to fix that using the generated add or drop statements. > > Do I want/need to do that before or after I exchange the software? And if it is to be done on a particular of the two releases, why is that? > > https://www.postgresql.org/docs/15/release-15-9.html > Section E.1.2, changelog entry 5. > > Any insight would be highly appreciated. Thanks in advance. Read this: https://www.postgresql.org/about/news/out-of-cycle-release-scheduled-for-november-21-2024-2958/ and hold off awhile. > > Cheers > Paul > -- Adrian Klaver adrian.klaver@aklaver.com