Nov 2019

1 commit
Avoid taking a new snapshot for an immutable simple expression in plpgsql.
22 Nov 2019Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #292 of 3 reviewers saw the final version

The commit preserves #29's contain_mutable_functions() classification and conditional snapshot operations in src/pl/plpgsql/src/pl_exec.c, renaming the cached flag to expr_simple_mutable, factoring the condition into need_snapshot, and reorganizing comments and field placement. Tom confirms cosmetic edits and the push in #39.

  • Pavel Stehulesaw the final versionLLM analysis, 99% surePavel challenged the initial immutability assumptions in #9, reported benchmarking, passing tests and cleanup in #20, examined the final snapshot predicate in #30, and is explicitly credited as reviewer in 73b06cf893.
  • Kyotaro Horiguchisaw an earlier versionLLM analysis, 92% sureKyotaro questioned incomplete node coverage and proposed conservative handling in #21, before #29 replaced the walker and broadened eligibility beyond catalog functions.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Konstantin KnizhnikLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane1

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