Aug 2026

1 commit
pg_stat_statements: Fix buffer overflow with query normalization
10 Aug 2026Noah MischmasterunreleasedREL_19_STABLE19beta3REL_18_STABLE18.6
LLM analysis, 96% surewritten from the discussion, no matching patch1 of 2 reviewers saw the final version

1e2795ddea credits Álvaro Herrera and replaces the fixed buffer in contrib/pg_stat_statements/pg_stat_statements.c with an expansible StringInfo. No attachment matches this implementation: #2 instead counts squashed entries to enlarge the fixed allocation and includes regression tests absent from the commit.

  • 王跃林saw an earlier versionLLM analysis, 98% sureIn #3, explicitly endorsed the analysis and allocation formula in #2, before the committed implementation switched to an expansible buffer.
  • Noah Mischsaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Alvaro Herrera1
Reviewer
Noah Mischcommitter1
Reported by
Sajeeb Lohani with TrendAI Zero Day Initiative1
Yuelin Wang1
Committer
Noah Misch1