Oct 2024

2 commits
Add a parse location field to struct FunctionParameter.
31 Oct 2024Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #31 of 1 reviewer saw the final version

This extracts FunctionParameter.location, its grammar initialization, and the mergeTableFuncParameters() cursor from #3. It additionally updates exprLocation() in src/backend/nodes/nodeFuncs.c, extends parameter diagnostics in src/backend/commands/functioncmds.c, bumps catversion, and updates expected output while omitting the proposed new function SQL tests.

  • Tom Lanesaw the final versioncommittercommitted the patch
Make all ereport() calls within gram.y provide error locations.
31 Oct 2024Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #31 of 2 reviewers saw the final version

This extracts the general gram.y error-location changes from #3, leaving FunctionParameter changes to the companion commit and omitting the added SQL tests. Tom Lane replaces the single SelectLimit location with offsetLoc/countLoc/optionLoc, adjusts cursor targets, and replaces the redundant multiple-limit-options error with an assertion.

  • Alvaro Herrerasaw an earlier versionLLM analysis, 99% sureAlvaro Herrera requested retaining parsePartitionStrategy() with a location argument #2, which the author implemented in #3, before Tom Lane's further LIMIT/OFFSET changes.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
jian heLLM2
Reviewer
Tom Lanecommitter2
Committer
Tom Lane2

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