Oct 2025

1 commit
Stop creating constraints during DETACH CONCURRENTLY
11 Oct 2025Álvaro Herreramaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.1REL_17_STABLE17.7REL_16_STABLE16.11REL_15_STABLE15.15REL_14_STABLE14.20Also in: BUG #18371: There are wrong constraint residues when detach hash partiton concurrently (written from the discussion, no matching patch)
LLM analysis, 100% suremodified before commitlight changesfrom patchset #42 of 2 reviewers saw the final version

The supplied diff matches the stable-branch implementation in #4, retaining its PartitionDesc variable and hash-strategy guard in src/backend/commands/tablecmds.c with only comment rewriting and regression-test simplification. I disagree with the from_discussion attribution in thread #72411: that thread supplied earlier design discussion, but this thread supplies the later matching implementation attached on 2025-10-10.

  • songjinzhousaw the final versionLLM analysis, 100% sureAfter questioning removal of the constraint-creation function #5, songjinzhou verified the submitted patch and reported that it worked correctly before the commit #7.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
李海洋(陌痕)1
Reviewer
Alvaro Herreracommitter1
Reported by
feichanghong1
李海洋(陌痕)1
Committer
Alvaro Herrera1