Jul 2019

1 commit
Reduce memory consumption for multi-statement query strings.
10 Jul 2019Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #191 of 3 reviewers saw the final version

The commit preserves #19's deferred context deletion and last-statement optimization in src/backend/tcop/postgres.c, with naming, comment, and context-switch cleanup. In src/backend/commands/extension.c, Tom Lane additionally runs execution inside the child context and creates that context for every statement, including the last, as explained in #21.

  • Julien Rouhaudsaw an earlier versionLLM analysis, 99% sureJulien requested extension-script coverage and corrected a comment in #15, discussed BuildCachedPlan coverage in #17, and received explicit review credit in b5810de3f4, but the context-lifetime rework followed his review.
  • Kyotaro Horiguchisaw an earlier versionLLM analysis, 85% sureKyotaro questioned the lifetime justification for the short-lived context in #20, prompting clarification, but the subsequent extension-context logic changes described in #21 were beyond his reviewed version.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Amit LangoteLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane1

N LLM means N of the credits come from LLM analysis, not from commit trailers.