Jun 2024

1 commit
Improve assertion in mdwritev()
3 Jun 2024Michael Paquiermaster17beta2REL_19_STABLE17beta2REL_18_STABLE17beta2REL_17_STABLE17beta2
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #12 of 2 reviewers saw the final version

The commit preserves the single assertion replacement from #1 in src/backend/storage/smgr/md.c, adding uint64 casts to prevent overflow as Tom Lane proposed in #4. Michael Paquier confirmed applying that version in #6.

  • Tom Lanesaw the final versionLLM analysis, 100% sureTom identified the wraparound hole in #3 and supplied the exact assertion expression committed in #4.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Xing Guo1
Reviewer
Michael Paquiercommitter1
Committer
Michael Paquier1