Re: bug, ALTER TABLE call ATPostAlterTypeCleanup twice for the same relation

Поиск
Список
Период
Сортировка
От jian he
Тема Re: bug, ALTER TABLE call ATPostAlterTypeCleanup twice for the same relation
Дата
Msg-id CACJufxG1Qwj=mHHZNT6L=7g9MeizbD3B+1=HN1TDvv4M92pTEQ@mail.gmail.com
обсуждение исходный текст
Ответ на bug, ALTER TABLE call ATPostAlterTypeCleanup twice for the same relation  (jian he <jian.universality@gmail.com>)
Список pgsql-hackers
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.

Вложения

В списке pgsql-hackers по дате отправления: