Hi,
On Mon, Aug 31, 2026 at 1:50 PM Bharath Rupireddy
<bharath.rupireddyforpostgres@gmail.com> wrote:
>
> > 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.
Please find the attached v2.
> 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.
I realized that except for the wal_level and replica identity related
errors, repack seems to already have tests for the other restricted
cases.
--
Bharath Rupireddy
Amazon Web Services: https://aws.amazon.com