Dec 2025

1 commit
Fix another case of indirectly casting away const.
24 Dec 2025Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #81 of 1 reviewer saw the final version

The src/port/getopt.c diff exactly matches #8: oli becomes const char *.

  • Tom Lanesaw the final versiontrailerTom committed the unchanged patch and confirmed pushing it in #10, establishing final coverage as its committer.

Dec 2025

2 commits
ecpg: refactor to eliminate cast-away-const in find_variable().
7 Dec 2025Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #7

The src/interfaces/ecpg/preproc/variable.c diff is identical to #7. Changes are confined to tests: array_of_struct coverage is added, pointer_to_struct uses an allocated customer pointer, and expected outputs are updated.

Fix some cases of indirectly casting away const.
5 Dec 2025Tom Lanemaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18REL_14_STABLE14.23Also in: Warning-suppression fixes we ought to back-patch (not this thread)
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #11 of 1 reviewer saw the final version

The commit takes the cleanup from #1 except src/interfaces/ecpg/preproc/variable.c, adds four files identified through Bertrand's review, and changes ecpg.trailer's copy to loc_strdup. Tom explicitly confirms the split and additional map_locale const qualifiers in #6.

  • Bertrand Drouvotsaw the final versiontrailerBertrand identified four additional omissions in #3 using Coccinelle #5; the retained cleanup received only small follow-up edits, while the uncertain ECPG refactor was deferred.

Credits across 3 commits

Author
Tom Lane2
Bertrand Drouvot1
Reviewer
Bertrand Drouvot1
Tom Lane1
Committer
Tom Lane3