Jan 2023

2 commits
Improve TransactionIdDidAbort() documentation.
11 Jan 2023Peter Geogheganmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #221 of 1 reviewer saw the final version

The commit preserves all three documentation hunks from #22, removing only the words "by now" from the heapam_visibility.c addition, as requested in #23 and confirmed in #24.

  • Andres Freundsaw the final versiontrailerAndres proposed clearer wording and a cross-reference for #18 in #19, then endorsed #22 with the final wording correction in #23.
Check that xmax didn't commit in freeze check.
4 Jan 2023Peter Geogheganmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The commit replaces !TransactionIdDidAbort() with TransactionIdDidCommit() in FreezeMultiXactId() and heap_freeze_execute_prepared() in src/backend/access/heap/heapam.c, directly addressing #2 and #5. Peter announced the fix in #7, before either documentation patchset was submitted.

  • Andres Freundsaw the final versionLLM analysis, 100% sureAndres identified the incorrect abort-status checks in #2 and explained the crash-recovery behavior in #5, prompting the committed correction without an attached patchset.

Credits across 2 commits

Author
Peter Geoghegan2
Reviewer
Andres Freund1
Reported by
Andres Freund1
Committer
Peter Geoghegan2