Hi,

On Mon, Aug 31, 2026 at 1:41 PM Álvaro Herrera <[email protected]> wrote:
>
> 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().

Yes, that's better, let's reuse.

> I would
> add a trivial test as Kiran Kaki suggested though.

That's fine with me, I can add one for materialized views here in this
patch. Going by this, I think we also need tests for catalogs, TOAST,
and other repack-restricted cases. I'd let Kiran Kaki add such tests
in a new thread.

Thoughts?

-- 
Bharath Rupireddy
Amazon Web Services: https://aws.amazon.com


Reply via email to