avoid call ATPostAlterTypeCleanup twice

Edit
ID 6121
Title avoid call ATPostAlterTypeCleanup twice
CI (CFBot) Summary
Stats (from CFBot) Patch version: v7, Patch count: 1, First patch: +152−2, All patches: +152−2
Tags Backport Bugfix
Created 2025-10-13 08:11:54
Last modified 2026-09-02 02:39:46 (2 weeks ago)
Latest email 2026-09-15 06:50:49 (2 days ago)
Status
PG20-3 (2026-11-01 – 2026-11-30): Needs review
PG20-2 (2026-09-01 – 2026-09-30): Moved to different CF
PG20-1 (2026-07-01 – 2026-07-31): Moved to different CF
PG19-Final (2026-03-01 – 2026-04-09): Moved to different CF
PG19-4 (2026-01-01 – 2026-01-31): Moved to different CF
PG19-3 (2025-11-01 – 2025-11-30): Moved to different CF
Target version stable
Authors Jian He (stayreal)
Reviewers Bryan Green (lispyone) Become reviewer
Committer
Links
Emails
bug, ALTER TABLE call ATPostAlterTypeCleanup twice for the same relation
First at 2025-09-27 09:54:00 by jian he <jian.universality at gmail.com>
Latest at 2026-09-15 06:50:49 by jian he <jian.universality at gmail.com>
Latest attachment (v7-0001-Fix-ALTER-TABLE-when-ALTER-TYPE-and-SET-EXPRESSION-are-used-toget.patch) at 2026-09-15 06:50:49 from jian he <jian.universality at gmail.com>
    Attachment (v7-0001-Fix-ALTER-TABLE-when-ALTER-TYPE-and-SET-EXPRESSION-are-used-toget.patch) at 2026-09-15 06:50:49 from jian he <jian.universality at gmail.com> (Patch: No)
    Attachment (v6-0001-Fix-ALTER-TABLE-when-ALTER-TYPE-and-SET-EXPRESSION-are-used-toget.patch) at 2026-08-02 11:52:40 from jian he <jian.universality at gmail.com> (Patch: No)
    Attachment (v5-0001-avoid-call-ATPostAlterTypeCleanup-twice.patch) at 2025-10-13 08:08:54 from jian he <jian.universality at gmail.com> (Patch: Yes)
    Attachment (v4-0002-The-other-implementation.patch) at 2025-09-29 09:21:04 from Chao Li <li.evan.chao at gmail.com> (Patch: Yes)
    Attachment (v3-0001-avoid-call-ATPostAlterTypeCleanup-twice.patch) at 2025-09-29 07:42:39 from jian he <jian.universality at gmail.com> (Patch: Yes)
    Attachment (v2-0001-ALTER-TABLE-each-relation-call-ATPostAlterTypeCleanup.patch) at 2025-09-27 14:23:59 from jian he <jian.universality at gmail.com> (Patch: Yes)
    Attachment (v1-0001-ALTER-TABLE-each-relation-call-ATPostAlterTypeCleanup-only-once.patch) at 2025-09-27 09:54:00 from jian he <jian.universality at gmail.com> (Patch: Yes)
History
When Who What
2026-09-13 21:52:07 Bryan Green (lispyone) Added lispyone as reviewer
2026-09-02 02:39:46 Jian He (stayreal) Moved from CF PG20-2 to CF PG20-3
2026-08-05 11:09:06 Jian He (stayreal) Moved from CF PG20-1 to CF PG20-2
2026-04-14 06:59:57 Jian He (stayreal) Moved from CF PG19-Final to CF PG20-1
2026-02-03 22:10:17 Álvaro Herrera (alvherre) Moved from CF PG19-4 to CF PG19-Final
2025-12-03 08:54:53 Jian He (stayreal) Moved from CF PG19-3 to CF PG19-4
2025-10-13 08:11:55 Jian He (stayreal) Attached mail thread CACJufxHZsgn3zM5g-x7YmtFGzNDnRwR07S+GYfiUs+tZ45MDDw@mail.gmail.com
2025-10-13 08:11:54 Jian He (stayreal) Created patch record
Edit