May 2026

1 commit
Add missing connection validation in ECPG
1 May 2026Andrew Dunstanmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18REL_14_STABLE14.23
LLM analysis, 98% suremodified before commitlight changesfrom patchset #152 of 5 reviewers saw the final version

The implementation in c34a280c85 matches #15 except for an expanded cache-cleanup comment in prepare.c; descriptor.c matches exactly. The commit combines the implementation with connect/test6 regression coverage, consistent with the companion tests described in #15 and Andrew Dunstan's combined-patch announcement in #17.

  • Tom Lanesaw an earlier versiontrailerIn #2, he requested checking other ecpg_get_connection() callers, leading to additional validation sites and subsequent local logic changes.
  • Fujii Masaosaw an earlier versiontrailerIn #4, he proposed using ecpg_init() instead of handwritten checks, before later descriptor-validation and statement-cache changes.
  • Mahendra Singh Thalorsaw an earlier versiontrailerIn #6, he requested crash regression tests for the three affected public functions, before the statement-cache guard and descriptor-validation revisions.
  • Nishant Sharmasaw the final versiontrailerHe identified missing cache validation and locale-cleanup problems, reviewed successive test revisions, and reported successful regression testing and approval of the final implementation and tests in #16.
  • Andrew Dunstansaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Shruthi Gowda1
Reviewer
Andrew Dunstancommitter1
Fujii Masao1
Mahendra Singh Thalor1
Nishant Sharma1
Tom Lane1
Committer
Andrew Dunstan1