On 2026-Aug-29, Bharath Rupireddy wrote: > REPACK (CONCURRENTLY) fails with a confusing "no identity index" error > when a materialized view is specified. Please find attached a patch > that reports a proper error, similar to the other cases in > check_concurrent_repack_requirements(), and adds a note to the docs. I > think this needs to be backpatched to PG19.
I think this should reuse errdetail_relkind_not_supported(). I would add a trivial test as Kiran Kaki suggested though. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "Most hackers will be perfectly comfortable conceptualizing users as entropy sources, so let's move on." (Nathaniel Smith) https://mail.gnu.org/archive/html/monotone-devel/2007-01/msg00080.html
