Mar 2024

1 commit
Fix incorrect accessing of pfree'd memory in Memoize
11 Mar 2024David Rowleymaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3REL_15_STABLE15.7REL_14_STABLE14.12
LLM analysis, 100% suremodified before commitlight changesfrom patchset #122 of 3 reviewers saw the final version

The commit preserves the executor fix from #12, with cosmetic initialization changes, and revises src/test/regress/sql/memoize.sql to expose cache-hit counts and run before work_mem is reduced. David explains these edits in #18; the commit credits Tender Wang and Andrei Lepikhov as authors.

  • Andrei Lepikhovsaw the final versiontrailerAndrei tested the original fix, challenged tableContext allocation, supplied the regression test, and explicitly accepted the final submission in #13.
  • Richard Guosaw an earlier versiontrailerRichard diagnosed premature context resets and tested removing the hash-function reset in #7, before the broader reset-lifetime rework in #11.
  • David Rowleysaw the final versiontrailerDavid reviewed and committed the final patch, strengthening its regression test and describing his cosmetic edits in #18.

Credits across 1 commit

Author
Andrei Lepikhov1
Tender Wang1
Reviewer
Andrei Lepikhov1
David Rowley1
Richard Guo1
Reported by
Tender Wang1
Committer
David Rowley1