From: Álvaro Herrera <alvherre@kurilemu.de>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Nathan Bossart <nathandbossart@gmail.com>
Cc: Kiran Kaki <itskkpg@gmail.com>
Subject: Re: REPACK (CONCURRENTLY) fails with wrong error for materialized views
Date: Wed, 9 Sep 2026 13:02:44 +0200
Message-ID: <aqE8AMclUokBJvib@alvherre.pgsql> (raw)
In-Reply-To: <CALj2ACXQB2JeJmaCLAdxS9Lw3ffA8SPod62Rqqoo6ofPg3ETBQ@mail.gmail.com>
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)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: alvherre@kurilemu.de, bharath.rupireddyforpostgres@gmail.com, nathandbossart@gmail.com, itskkpg@gmail.com
Subject: Re: REPACK (CONCURRENTLY) fails with wrong error for materialized views
In-Reply-To: <aqE8AMclUokBJvib@alvherre.pgsql>
References: <CALj2ACXQB2JeJmaCLAdxS9Lw3ffA8SPod62Rqqoo6ofPg3ETBQ@mail.gmail.com> <aqE8AMclUokBJvib@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox