Mar 2026

1 commit
Fix local-variable shadowing in pg_trgm's printSourceNFA().
2 Mar 2026Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Sergei Kornilov reported variable shadowing in contrib/pg_trgm/trgm_regexp.c and supplied an inline fix removing the inner declaration of i #1. Tom Lane instead proposed converting all printSourceNFA() loops to loop-local variables #2, which the commit implements across four loops; its Author credit names Tom Lane.

Credits across 1 commit

Author
Tom Lane1
Reported by
Sergei Kornilov1
Committer
Tom Lane1