Aug 2024

2 commits
Avoid failure to open dropped detached partition
19 Aug 2024Alvaro Herreramaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17rc1REL_16_STABLE16.5REL_15_STABLE15.9REL_14_STABLE14.14
LLM analysis, 97% surelanded as postedfrom patchset #82 of 2 reviewers saw the final version

Matches the try_table_open-and-skip fix and explanatory comment in #8, modulo branch adaptation in src/backend/optimizer/util/inherit.c. The supplied commit uses a local live_parts bitmap rather than relinfo->live_parts, explaining omission of the attachment's bms_del_member call; the listed sibling commit retains that call.

  • Kuntal Ghoshsaw the final versiontrailerAfter diagnosing the race in #7, he tested #8 and confirmed that it fixed the issue in #9.
  • Junwang Zhaosaw the final versiontrailerExpressed agreement with the positive review of #8 in #10.
Fix creation of partition descriptor during concurrent detach+drop
12 Aug 2024Alvaro Herreramaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17rc1REL_16_STABLE16.5REL_15_STABLE15.9REL_14_STABLE14.14REL_13_STABLE13.17+1 more
LLM analysis, 99% suremodified before commitlight changesfrom patchset #53 of 3 reviewers saw the final version

Retains the HeapTupleIsValid guard and declaration relocation from #5 in src/backend/partitioning/partdesc.c, but omits its added explanatory comments in the supplied older-branch implementation. The attachment and commit explicitly credit Kuntal Ghosh, whose original patch is #2.

  • Junwang Zhaosaw the final versiontrailerReproduced the issue and approved #2 in #4, after which only comments and declaration placement changed.
  • Tender Wangsaw the final versiontrailerReported that #2 looked good after inspection in #3, with only light revisions following.
  • Alvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Alvaro Herrera1
Kuntal Ghosh1
Reviewer
Junwang Zhao2
Alvaro Herreracommitter1
Kuntal Ghosh1
Tender Wang1
Committer
Alvaro Herrera2