On Sat, Sep 27, 2025 at 5:54 PM jian he <jian.universality@gmail.com> wrote:
>
> While at it, maybe we can also polish the comment below in ATRewriteCatalogs.
> /*
> * After the ALTER TYPE or SET EXPRESSION pass, do cleanup work
> * (this is not done in ATExecAlterColumnType since it should be
> * done only once if multiple columns of a table are altered).
> */
> but I didn't do it...
I add one sentence:
Note: ATPostAlterTypeCleanup must be called only once per relation!
I also polished the regress tests.