Sep 2022

3 commits
Fix configure's AC_CHECK_DECLS tests to work correctly with clang.
21 Sep 2022Tom LaneREL9_3_STABLEunreleasedREL9_2_STABLEunreleasedAlso in: Fixing AC_CHECK_DECLS to do the right thing with clang (modified before commit)
LLM analysis, 100% surewritten from the discussion, no matching patch

This implements the older-branch AC_CHECK_DECLS backport proposed in #4, adding config/check_decls.m4 and regenerating configure with warning-sensitive declaration checks. The attached patch in #1 contains no configure changes.

Suppress more variable-set-but-not-used warnings from clang 15.
21 Sep 2022Tom LaneREL_14_STABLE14.6REL_13_STABLE13.9REL_12_STABLE12.13REL_11_STABLE11.18REL_10_STABLE10.23REL9_6_STABLEunreleasedREL9_5_STABLEunreleasedREL9_4_STABLEunreleased+2 more
LLM analysis, 88% suremodified before commitmoderate changesfrom patchset #10 of 1 reviewer saw the final version

The commit carries forward the gram.y yynerrs reference and array_typanalyze.c counter removal from #1. It expands that subset into the older-branch cleanup discussed in #4, adding unused-counter removals in hstore, ltree, GIN, var.c and varlena.c plus Tcl 8.6 compatibility changes.

  • Thomas Munrosaw an earlier versionLLM analysis, 87% sureIn #2, Thomas endorsed the grammar workaround and counter removal retained here, but did not review the additional older-branch and Tcl changes.
Suppress variable-set-but-not-used warnings from clang 15.
20 Sep 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15rc1REL_14_STABLE14.6REL_13_STABLE13.9+5 more
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #10 of 1 reviewer saw the final version

The three grammar edits and array_typanalyze.c removal match #1, while xlog.c uses pg_attribute_unused() instead of WAL_DEBUG guards as suggested in #2. The commit also annotates ninserted in src/backend/access/gist/gistxlog.c, addressing the additional assertion-disabled-build warning reported in #3.

  • Thomas Munrosaw an earlier versionLLM analysis, 96% sureIn #2, Thomas endorsed the grammar and array changes and proposed the adopted pg_attribute_unused() annotation, before the additional GiST case reported in #3.

Credits across 3 commits

Author
Tom LaneLLM2
Committer
Tom Lane3

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