Jun 2021

1 commit
Don't crash on empty statements in SQL-standard function bodies.
8 Jun 2021Tom Lanemaster14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2
LLM analysis, 100% surelanded as postedfrom patchset #880 of 1 reviewer saw the final version

The gram.y change and both regression-test hunks match #88 exactly modulo patch metadata. The commit credits Julien Rouhaud and Tom Lane, and #91 confirms the push.

  • Peter Eisentrautsaw an earlier versionLLM analysis, 88% sureIn #84, he examined the transformation-stage filtering and expected output of #83 and proposed grammar rejection before the final patch instead adopted grammar-level filtering.

Apr 2021

5 commits
psql: Fix line continuation prompts for unbalanced parentheses
29 Apr 2021Peter Eisentrautmaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The one-line change from if to else if in src/fe_utils/psqlscan.l exactly matches Justin Pryzby's inline patch in #75. The commit explicitly credits him as author, and #78 confirms that fix.

  • Peter Eisentrautsaw the final versioncommittercommitted the patch
Provide query source text when parsing a SQL-standard function body.
15 Apr 2021Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #64

Matches the second of three patches in #64, passing queryString into interpret_AS_clause(), setting p_sourcetext, freeing the parse state, and updating the error-position expectation. The other two patches are outside this commit.

Revert "Cope with NULL query string in ExecInitParallelPlan()."
15 Apr 2021Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1revert
LLM analysis, 100% surewritten from the discussion, no matching patch

Reverts the temporary NULL-query-string handling in ExecInitParallelPlan(), exactly the follow-up proposed in #64. That message explicitly says the revert was omitted from its attachments.

Undo decision to allow pg_proc.prosrc to be NULL.
15 Apr 2021Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #64

Takes the first of three patches in #64, restoring non-NULL prosrc and asserting sourceText availability in standard_ExecutorStart(). Additional changes are catalog documentation, a catalog-version bump, and opr_sanity test adjustments.

SQL-standard function body
7 Apr 2021Peter Eisentrautmaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #430 of 1 reviewer saw the final version

Derives from #43, with additional functioncmds.c checks for missing bodies and languages, restricting the SQL default to unquoted bodies. It also adjusts single-statement deparsing, documentation, expected output, and the catalog version before the push announced in #45.

  • Julien Rouhaudsaw an earlier versiontrailerHe supplied the scanner correction in #39, requested assertions and tests in #42, and reviewed #43 in #44, but the committed version subsequently added language-default and missing-body logic.

Sep 2020

1 commit
Extend SQL function tests lightly
5 Sep 2020Peter Eisentrautmaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #26

Extracts the create_function_3.sql and expected-output hunks from #26 that execute functest_A_1 through functest_A_3 and correct the array subscript from zero to one. These standalone test changes disappear from the subsequent feature patch #27.

Credits across 7 commits

Author
Tom LaneLLM3
Peter EisentrautLLM2
Justin Pryzby1
Reviewer
Julien Rouhaud1
Peter Eisentrautcommitter1
Tested by
Jaime Casanova1
Reported by
Jeff Janes1
Committer
Tom Lane4
Peter Eisentraut3

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