Jul 2025

2 commits
Use pg_assume() to avoid compiler warning below exec_set_found()
9 Jul 2025Andres Freundmaster19beta1REL_19_STABLE19beta1Also in: gcc 13 warnings (not this thread)Also in: pgsql: Add support event triggers on authenticated login (not this thread)
LLM analysis, 100% suremodified before commitlight changesfrom patchset #42 of 2 reviewers saw the final version

The commit matches the second patch in #4, retaining pg_assume(var->datatype->typlen != -1) in exec_set_found() in src/pl/plpgsql/src/pl_exec.c. Only the explanatory comment was rewritten, consistent with the minor comment burnishing reported in #7.

  • Tom Lanesaw the final versionLLM analysis, 94% sureTom said the attached approach looked plausible by inspection in #5, and only comment edits followed.
  • jian hesaw the final versionLLM analysis, 100% sureDespite disclaiming code review, jian he reported testing the attached patch with gcc-14.0 and confirming that the warning disappeared in #6.
Add pg_assume(expr) macro
9 Jul 2025Andres Freundmaster19beta1REL_19_STABLE19beta1Also in: gcc 13 warnings (not this thread)Also in: pgsql: Add support event triggers on authenticated login (not this thread)
LLM analysis, 100% suremodified before commitlight changesfrom patchset #41 of 1 reviewer saw the final version

The commit matches the first patch in #4, preserving all pg_assume() implementations in src/include/c.h. Its only source change is correcting 'stats' to 'states' in the comment, as requested in #5.

  • Tom Lanesaw the final versiontrailerTom inspected the series, called it plausible, and identified the comment typo in #5; the committed macro differs only by that correction.

Credits across 2 commits

Author
Andres FreundLLM2
Reviewer
Tom Lane1
Committer
Andres Freund2

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