May 2021

2 commits
Have ALTER CONSTRAINT recurse on partitioned tables
5 May 2021Alvaro Herreramaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.3+2 moreAlso in: Deferrable FK not behaving as expected.
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #7

The commit retains the recursive implementation from #7 but walks to the topmost ancestor for error details, makes trigger updates and relcache invalidation conditional on changed flags, removes unused parameters and revises regression tests. The other linked thread thread #134846 has no patchsets and supplied the original report, so this thread supplies the implementation.

Fix OID passed to object-alter hook during ALTER CONSTRAINT
4 May 2021Alvaro Herreramaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.3+1 more
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #5

Extracts exactly the one-line InvokeObjectPostAlterHook correction in src/backend/commands/tablecmds.c from #5, replacing currcon->oid with tgform->oid. That message explicitly promises a separate commit; the partition-recursion implementation is excluded.

Credits across 2 commits

Author
Alvaro HerreraLLM2
Committer
Alvaro Herrera2

N LLM means N of the credits come from LLM analysis, not from commit trailers.