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.96) (envelope-from ) id 1x4G4q-0072EA-3A for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2026 11:02:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x4G4p-00E0fV-2o for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2026 11:02:51 +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.96) (envelope-from ) id 1x4G4p-00E0fI-1X for pgsql-hackers@lists.postgresql.org; Wed, 09 Sep 2026 11:02:51 +0000 Received: from flow-a6-smtp.messagingengine.com ([103.168.172.141]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x4G4m-00000003kN3-32oU for pgsql-hackers@postgresql.org; Wed, 09 Sep 2026 11:02:51 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailflow.phl.internal (Postfix) with ESMTP id C847F138002F; Wed, 9 Sep 2026 07:02:46 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Wed, 09 Sep 2026 07:02:46 -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=fm2; t=1788951766; x= 1788958966; bh=2YeqvX28991O5eaGnuxnMO39Cm8QExSRTv4NZgEXckA=; b=F Xu/sU+4zNDKkqFWKJs4K79qVYl8DEq9tE/PRVdNX1+Sp3S/Nx4TyBp2DL0Q+9arI 80igJkRdPX7LZa5sAv8n3pDbxHahIHjYjH1GYoqsgKbS/crOeCFfqYVk7+o314ub omYGFL0lvxZdc1IRkD0zSONNMJs1MHEQT6rEu0bMXFw7g2sPnpMjSvDWQasgL0gF io2glKO/uBETsDJ4UlbR51cfwqzK31J9xWEVFwYmf8/jnWEFxkn3AuD5+MDDpmbw W8Ai/q6dewKwRueixgwkXo3XcjlbqM6gJBUvAi89JoOx7dcQkOyOc0owaAf7c+6M 2pN0SUEoZiaD3uio2oH1g== 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=fm1; t=1788951766; x=1788958966; bh=2 YeqvX28991O5eaGnuxnMO39Cm8QExSRTv4NZgEXckA=; b=SQNK/Xrv8ey+RY4GK BAuQ4q63gl2zHQursfDOkynLxx2JibJLVZWBPOBsx6rGQAcG39WoZfVLTknCOOVu 4C/8q6HKSyZDXs3ZIo703lqejWUgBXiNDZABs0u5EQyg+pU4Nwb3Ud4lSAXyg8lU 3m4JfFqqDBPFo+p0cRoau9FvMarkAcgc77dai5A/Hf+kujziMI8gsclwkVQJMyXJ zfgPVpyA5hB3vk7Aewfv91fx82o5KvaCTjExNblPiOLvlPXrODloQtCs8KEBP/PF vU/A4CHBa2j7owxYFChcQv1KOBvBoDxCrHQnmu4bKcNeXDfheM5BtjGrNoWpc/UC LO7cA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTFlYcQ8x6DvujuemRHa+URmhO4+8XPrrZrQrIInTmGLX/BQ0NPJfKD/4prChynzTz 7Ey18p2yESmt9Qy7RY4TBZF+1WYc+UJANA8P0ZLPrZ0lYcsF2RCTBk3nUmxE74XaCNibUu Qv+H9BiArP5zbRdXxyyAtI9gQdaxiPhCJ/jetBgDIOnvsKyiGbfAKEoW3WBuCBtO56VMqQ HZpKILiYLuTxsSXHaqNGD/Id3Vjo9QdwzJ77Al/wKv/t0xwQKG4aw5wgGN7nY/JaGS49ZJ wEzisZtVJ8CBWqXZf9BAhXgXcW8R666EWxzblXuF0b2I2Pl1OGUJ8+lbMJIqnWyfVFX9eZ xR2e3ufYbqk2GTYIwvYnrb1uWQqNrYDngU6Zn4YyiIPLNxpQZlVGByEiDUbON96GIRtjP7 224E/jJgk/hsZ+iN6Rk6BDOikB0awuJQ17Drgpl789vtvjn2obqN2kAYRCEcqKSIWvAQgr U+o1WRk555KazD+qxQXH0jTvF7AEH3VYz7gOnb8vP/aalo+jf75qn+G+b90tllsLga7vJH 264uYZUoofVUDhJZNadtkO/gq4T8VlBkOSpzpqix1uclI01PZFT7hCruD93FPo46Q4m79g qOD1SM72n8DGJQN2kqdMDPyFkHThFRKubfhEE3qELYpfyUC8hLXLyBBAR7Rg X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Sep 2026 07:02:46 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1788951764; bh=KzXQNVxAQ1vbYOFs1BZ85nv3iIL4HAbMaBfi3YesLfw=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=MR8/dHAPARXLimOxGC2/PKTnlzyCM6bJNtPGclvat1FcIVKmMhtK944FEI0r1LD1Y AnlOK7RkoqMiQ9TBBxqMP7tS95M0qWI6L6xgdM+Civ5yZ+gidEaZaVJ4OGgEjw+A8w wme7GSWAyOU13ipAaejtnbj+blRmDyP+wEC1TA/yN3cXC6eIY6kKyoXIrDVyxK5T4E gTwZ+gb6yu1tBDqoKYf9ZCYbMhBWapS/nex0xODIr+Bgw7QWCn9kl2nt+7kWW+0JDr Z7v0X8LWzDj3qxEqV1M2QrFwJCKwW+Yz6JzqEa3Z4rxdtIWaGzA1jiGVoWzd/J/KYd ZCFwW5K3V3jSw== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id 78117B00039; Wed, 09 Sep 2026 13:02:44 +0200 (CEST) Date: Wed, 9 Sep 2026 13:02:44 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Bharath Rupireddy Cc: PostgreSQL-development , Nathan Bossart , Kiran Kaki Subject: Re: REPACK (CONCURRENTLY) fails with wrong error for materialized views Message-ID: 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 2026-Aug-31, Bharath Rupireddy wrote: > Thoughts? Hello, thanks, I have pushed this. I removed the CREATE INDEX from the test case though, because it's not needed: the new error fires before even trying to find the index. I also moved to the start of the list the documentation addition: the new sentence was the only "the relation is ..." in the midst of a bunch of "the table is ..." statements, so it felt out of place. And I made it "the relation is not a table" instead (with a parenthical comment mentioning a matview), so that all the others "the table is ..." make sense as followups to it. Thanks! -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ Subversion to GIT: the shortest path to happiness I've ever heard of (Alexey Klyukin)