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 1reNRP-00B3gK-29 for pgsql-bugs@arkaria.postgresql.org; Sun, 25 Feb 2024 22:57:52 +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 1reNRN-009H8q-Gq for pgsql-bugs@arkaria.postgresql.org; Sun, 25 Feb 2024 22:57:50 +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 1reNRN-009H8h-8X for pgsql-bugs@lists.postgresql.org; Sun, 25 Feb 2024 22:57:49 +0000 Received: from wfhigh1-smtp.messagingengine.com ([64.147.123.152]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1reNRJ-0011EI-VP for pgsql-bugs@lists.postgresql.org; Sun, 25 Feb 2024 22:57:48 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.west.internal (Postfix) with ESMTP id 9D82C1800080; Sun, 25 Feb 2024 17:57:45 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 25 Feb 2024 17:57:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc: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=fm1; t=1708901865; x=1708988265; bh=ooMqVOV+lw biuv/W1mZTDmGULJwOu054/R8neNS6M/Q=; b=Jm9jbB2Pgr+n2M6DH8sp3mTk9p k+lnfZuau7NIAGWtqFZ/Tr9XBbkMe7cv2JREN4Bw+3VX81FvLhv9oRaOSB6Qazq3 IxHw7Sq7pTOpUR65cPjEw4YEU9dNtgF9NsGgJaKTcqVG/gqZbbLo1aNW6DjFFm/c Vb16Fx2yWjFYaTCgsa1c7NNRjDhaWkGH2BcePbP7j8zQ6qnLSnC+3AkP8/q2UE2K C8tNgnqa1I4tm+50wVo0kwvfsult+vLFDr02wguqLmax+wS4EI2zNEfeQ6ZHf/k1 lDCtMClON3FYx4BM7jLY0mivKPfHZtNrQixP5Hx++KTff1clGOG9a/weWPxA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1708901865; x=1708988265; bh=ooMqVOV+lwbiuv/W1mZTDmGULJwO u054/R8neNS6M/Q=; b=U8gQ6Bhkx2QnClY6JFtkodYyH72KkrJ0abcPNhIx7arT 4cBdtmh8BzuPu0UIjeqbKfmG21OHrEiyQAfk71eEQqqFIjIJpJjYBv+2riR4AVvJ lEft6bFtwKNkD/4xzfj2KzPKfYdzrYAtJotVjrmehjtzPywA+K2c6HbMX1MBoM7t bvT/1G7LekKn41KmhyafCEIBYXf/5mQFZgvSGhGM2dZ2qJjYOmUX0FifQHVUcPLB ZH7shxwWzrwIHT3PgfM+Sn1mN3jonmujaC+iLoqyzXZy62le4OL8s3vIOtOe1n3U zT+5jumImyJWPt99WAH8ml5jVUW+Ak+XQz3VXr+EYQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgedugddtgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtddmnecujfgurhepfffhvf evuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpeetleeifedufffhhfdtteelgeeggeffhfekueevteeigfduudevudetgfegiedvjeen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthh grvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Feb 2024 17:57:43 -0500 (EST) Date: Mon, 26 Feb 2024 07:57:34 +0900 From: Michael Paquier To: Tom Lane Cc: exclusion@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18363: Assert !ReindexIsProcessingIndex falsified with expression index over select from table Message-ID: References: <18363-e3598a5a572d0699@postgresql.org> <1541688.1708893428@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NOZeLMoM2E6MSEhE" Content-Disposition: inline In-Reply-To: <1541688.1708893428@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --NOZeLMoM2E6MSEhE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Feb 25, 2024 at 03:37:08PM -0500, Tom Lane wrote: > Yeah, I guess so. We periodically get reports of the non-assert > failure, and this would let us issue a more on-point error message. > I'm slightly worried about the extra cost, but typically > pendingReindexedIndexes should be empty or at least short, so it's > probably negligible. An index expression that calls a function doing a scan of its parent table is a funky case for sure, but perhaps f5a465f1a074 would have been better with a test? -- Michael --NOZeLMoM2E6MSEhE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmXbxd4ACgkQnvQgOdby QH0P3Q//bdvAShZ5j6x9K04PIoDpfLUD2dfIL/hoaoENB6x/KUtX8dLVgR0R/Mqt wkzlFREnEg0pxQaiOUVFEAU7sLJZlGI6zrfWWvkyGk2+WddyUtspIzxBnJeF8Nxh L41Dj6vLZb95/F/Jb8sGZCBVlNkn4r3gjXNR1eC7NISYXV0QzNAq/DsBNT2VldCz q/Hz8bW2jfweDgSbhJbnc88B9uW1fNjen0CmBhdcMYlWvRUzjW5ZidGQ/aG96lMO iXqX97YOk70UvClbymRjpVzn+fQQdTNphUDbH/NqBhCAaDQvXpDVuZ+AdKwr2Jng RU3Ijv5vw7wT4mKOoWHTB65XXT9jzrw3nPPHeLhNCh7+nyYVeyZRCaHOoa7iKach 80xV2FEBTgHfDyIQPJch+0WYb3ouEkvhFYY9dxyImjuvjiJ48Up7f5TXJNj1T5n1 /ER0VRJa1y2LWPWvEbW/RjR/kjnEz3CBanx11hJ0OHKNYXYJyaCKBCZK+U0hXlu/ w8Jpmj3Kfg0cxm4e4jTnpjXCpwPOO/ZXRNuPd2BRoHgRmEAN6yMrGXyd21RH39// 1IhwSPoFoA+4kL1ujSA1GAml3wS5EkLOtZRstdIHXE5eosZD1aPiSoHTb6x5vDMH 617XEKKl1dRU31ylLHJufW6GZ+CcpUe3yRTPdffeoYNT+7mTvfA= =07OP -----END PGP SIGNATURE----- --NOZeLMoM2E6MSEhE--