Apr 2022

1 commit
Tighten enforcement of variable CONSTANT markings in plpgsql.
30 Apr 2022Tom Lanemaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #10 of 1 reviewer saw the final version

The commit preserves the CALL check and exec_check_assignable() helper from #1, but replaces the pl_gram.y OPEN check with runtime checks in pl_exec.c, including exec_stmt_forc(), and expands cursor tests to permit nonnull constants. Tom explicitly confirms these changes and the push in #3.

  • Pavel Stehulesaw an earlier versionLLM analysis, 88% surePavel endorsed the proposal with +1 in #2, before Tom changed cursor enforcement to runtime and added the cursor-loop check #3.

Credits across 1 commit

Author
Tom LaneLLM1
Committer
Tom Lane1

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