Jan 2021

4 commits
Rethink the "read/write parameter" mechanism in pl/pgsql.
4 Jan 2021Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #111 of 1 reviewer saw the final version

Takes the seventh patch from #11, preserving its per-Param read/write implementation in pl_exec.c, pl_gram.y and plpgsql.h. Differences are comment edits, including an arrayfuncs.c explanation derived from #9.

  • Pavel Stehulesaw the final versionLLM analysis, 100% surePavel exposed the performance regression in #8, tested the incremental fix in #10, and tested the replacement implementation in #12 and #13.
Remove PLPGSQL_DTYPE_ARRAYELEM datum type within pl/pgsql.
4 Jan 2021Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #111 of 1 reviewer saw the final version

Takes exactly the sixth patch from #11, removing PLPGSQL_DTYPE_ARRAYELEM and array-element GET DIAGNOSTICS targets across six files. The patch differs only in blob identifiers and hunk offsets.

  • Pavel Stehulesaw the final versionLLM analysis, 94% surePavel reported that the complete final series passed check-world in #13 and subsequently tested it with plpgsql_check in #14.
Re-implement pl/pgsql's expression and assignment parsing.
4 Jan 2021Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #111 of 1 reviewer saw the final version

Combines the third through fifth patches from #11: expression parsing, assignment parsing, documentation and tests. Applying those three patches to the commit's parent reproduces the committed contents exactly across all changed paths.

  • Pavel Stehulesaw the final versionLLM analysis, 100% surePavel tested nested record and array assignments in #7, ran broader tests in #13 and #14, and examined slice-assignment behavior in #17.
Add the ability for the core grammar to have more than one parse target.
4 Jan 2021Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #111 of 1 reviewer saw the final version

Combines the first two patches from #11, introducing RawParseMode and SPI_prepare_extended. Applying them to the commit's parent leaves only the stmtblock-to-parse_toplevel rename, its ECPG counterpart, a comment addition and incidental formatting in parse_coerce.c.

  • Pavel Stehulesaw the final versionLLM analysis, 94% surePavel exercised the parser and SPI infrastructure through assignment tests in #7 and reported successful performance tests and check-world for the final series in #13.

Credits across 4 commits

Author
Tom LaneLLM4
Committer
Tom Lane4

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