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 1sN7ja-006tps-3g for pgsql-bugs@arkaria.postgresql.org; Fri, 28 Jun 2024 09:17:34 +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 1sN7jY-002szg-4l for pgsql-bugs@arkaria.postgresql.org; Fri, 28 Jun 2024 09:17:32 +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 1sN7jX-002szE-Nw for pgsql-bugs@lists.postgresql.org; Fri, 28 Jun 2024 09:17:32 +0000 Received: from fhigh8-smtp.messagingengine.com ([103.168.172.159]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sN7jV-003WUU-8c for pgsql-bugs@lists.postgresql.org; Fri, 28 Jun 2024 09:17:30 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id B6FE311403AD; Fri, 28 Jun 2024 05:17:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 28 Jun 2024 05:17:27 -0400 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-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1719566247; x= 1719652647; bh=fXoCUB1yFF9QnD7n9AqIvr6DS8u/tu6CnAboYxpmYYs=; b=k qEABm0QBFFFUQPJIDZsU6ARFWBKEY3+GgqRosrZTAqZBiDKiEsNUF0p1q8do6FVs 6uFkhEt+qh8c4wy3cgWJ4rTdrQL91nUONK2OKvIDr/tbP1qW/Bn+sf2FxGn188hx cfhj3mjhOn9+0AnH0aifhYa0ob/yOijd2/64Xf7XgKqOkXuegG4caQPd9WAjQ1KP iqKtJfX89JvvOfQtWrjhK5Cjpjizrw7uhS+Qw8q2/EgkrxrdJyok7B9S/g1jlp5F oKC8QhmNXKXMyFb8S9duSjNkorktk0slwLoGl4LTGWfWSAYD+btmxDKhUgZMe0Bk U0avFa0ysqTOIJy7tJA3Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrtdeigddufecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeejkeff gfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 28 Jun 2024 05:17:27 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1719566242; bh=JAJaHlqH63vqND+m1xhCoQ4V8jCRxdJrFXGkZZmKtnM=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=ZXI/z60oKxvus/Jbj17rgYsnX8+4MG7gQDRLjOqC+4cVmv29jeswUSvJzotyBKeDJ 8w+8w64nFRJGk8eMlmby0vqbNZXMFDAbWb69n9ve8Tlzg1g39YLfowARmSn8Zpy4zc o1orc1mpw7+nSMpwerQUtZ85fQVKk3K5dfyHd2Hd3+gdZqin0BUeywlvsEsLQj5yXB BRhNaQ1XBKAWc5dOdfnYrrbD9QCquwDzyG8dc+zkoA/tj7ZRpi2faxe8l30HqWMB5t E/+/MvfpMrR9qlRgnIqa7cpcSjF05nsZXQVLSe1YVoBdMF0a6hzPZ4unmj1PbC5PJw +skkXRD2c+jXw== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id C650152B; Fri, 28 Jun 2024 02:17:22 -0700 (PDT) Date: Fri, 28 Jun 2024 11:17:22 +0200 From: Alvaro Herrera To: Laurenz Albe Cc: "Daniel Westermann (DWE)" , "exclusion@gmail.com" , "pgsql-bugs@lists.postgresql.org" , Devrim =?utf-8?B?R8O8bmTDvHo=?= Subject: Re: BUG #18500: Detaching a partition with an index manually attached to the parent's index triggers Assert Message-ID: <202406280917.xbli5n4cjvdw@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6d832c7952bb2ea7ea3040f3669204bcfc7f7547.camel@cybertec.at> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-Jun-28, Laurenz Albe wrote: > On Thu, 2024-06-27 at 16:55 +0200, Alvaro Herrera wrote: > > On 2024-Jun-27, Daniel Westermann (DWE) wrote: > > > > > Doesn't happen on FreeBSD: > > > > Maybe this one uses Postgrs compiled with assertions disabled (would be > > what I expect in a "production" build). > > Ah, right. I used Devrim's RPM packages, and I see that they are built with > --enable-cassert. Oh yeah, I remember noticing that before and thinking that that was an absolutely insane choice. Performance really suffers. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "I can't go to a restaurant and order food because I keep looking at the fonts on the menu. Five minutes later I realize that it's also talking about food" (Donald Knuth)