Jun 2025

2 commits
Improve error report for PL/pgSQL reserved word used as a field name.
30 Jun 2025Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #101 of 1 reviewer saw the final version

This commit takes the reserved-field error-reporting component of #10, preserving its src/pl/plpgsql/src/pl_comp.c implementation exactly while polishing the regression-test heading and adding fails/ok comments. The attachment credits Tom Lane, whose original submission is #1; the other components landed separately.

  • Pavel Stehulesaw the final versiontrailerPavel considered allowing reserved keywords after a dot #5 #8, then reported no issues and passing tests in #10, after which only test comments changed.
De-reserve keywords EXECUTE and STRICT in PL/pgSQL.
30 Jun 2025Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #101 of 1 reviewer saw the final version

This commit combines the de-reservation component and Pavel's added tests from #10, leaving the independent error-reporting component for a separate commit. Tom Lane's grammar, scanner, and keyword-list changes are unchanged; the tests receive comment cleanup and removal of unnecessary quotes around strict.

  • Pavel Stehulesaw the final versiontrailerPavel examined the remaining reserved keywords #8 #9, reported successful review and tests, and supplied additional regression coverage in #10, which landed with light edits.

Credits across 2 commits

Author
Tom Lane2
Reviewer
Pavel Stehule2
Committer
Tom Lane2