This is an automated backport of #7023: Fix catalog corruption on Continuous Aggregate.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.
Unfortunately the code-path for ALTER TABLE...{RENAME | SET SCHEMA} over a Continuous Aggregate was not handled very well in the process utility hook leading to a catalog corruption because it was not updating properly the internal metadata information.
Fixed it by properly update the catalog information.
This is an automated backport of #7023: Fix catalog corruption on Continuous Aggregate. This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.
For more details, please see the documentation
Original description
Fix catalog corruption on Continuous Aggregate
Unfortunately the code-path for
ALTER TABLE...{RENAME | SET SCHEMA}
over a Continuous Aggregate was not handled very well in the process utility hook leading to a catalog corruption because it was not updating properly the internal metadata information.Fixed it by properly update the catalog information.
Disable-check: force-changelog-file