Oct 2025

13 commits
formatting.c cleanup: Change fill_str() return type to void
31 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #11 of 1 reviewer saw the final version

The fill_str() return-type change from #1 landed with an explanatory comment requested in #2. The signature retains int max because the earlier proposed size_t conversion was omitted.

  • Chao Lisaw the final versiontrailerIn #2, Chao questioned the buffer-length semantics and parameter name, prompting the added function comment.
formatting.c cleanup: Change TmFromChar.clock field to bool
31 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #11 of 1 reviewer saw the final version

The clock_12_hour conversion from #1 landed with one additional update to the DEBUG_TMFC macro's field reference. Peter retained the submitted field order, explicitly declining the packing suggestion in #3.

  • Chao Lisaw the final versiontrailerIn #2, Chao reviewed the boolean conversion and suggested moving clock_12_hour beside has_tz to reduce structure size.
formatting.c cleanup: Change several int fields to enums
31 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

All 76 added and removed lines match the enum-conversion patch in #1 after whitespace normalization, including KeySuffixType, FormatNodeType, TH_Case, NUMDesc_lsign, and bool need_locale.

  • Chao Lisaw the final versiontrailerIn #2, Chao explicitly approved converting the integer fields to enums.
formatting.c cleanup: Rename DCH_S_* to DCH_SUFFIX_*
31 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #11 of 1 reviewer saw the final version

The suffix renaming and inline functions match #1, except that DUMP_THth and DUMP_FM correctly call IS_SUFFIX_* instead of the submitted undefined SUFFIX_* names. The corresponding SKIP_THth comment is corrected too.

  • Chao Lisaw the final versiontrailerIn #2, Chao approved the more descriptive suffix names; only naming corrections followed.
formatting.c cleanup: Improve formatting of some struct declarations
30 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

The 64 added and removed lines match #1, splitting NUMDesc and TmFromChar field declarations into separate declarations in src/backend/utils/adt/formatting.c.

  • Chao Lisaw the final versiontrailerIn #2, Chao explicitly approved the structure-declaration cleanup.
formatting.c cleanup: Remove unnecessary zeroize macros
30 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

All 22 added and removed lines match #1, replacing ZERO_tmfc and zeroize_NUM with initialization or memset() in src/backend/utils/adt/formatting.c.

  • Chao Lisaw the final versiontrailerIn #2, Chao explicitly approved removing the zeroize macros.
formatting.c cleanup: Remove unnecessary extra line breaks in error message literals
30 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

All 36 added and removed lines match the error-message line-break cleanup in #1. Peter explained in #3 that unbroken literals make error messages easier to find with grep.

  • Chao Lisaw the final versiontrailerIn #2, Chao objected that joining string literals produced lines exceeding 80 columns, demonstrating review despite withholding approval.
formatting.c cleanup: Remove unnecessary extra parentheses
29 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

Both parentheses-removal hunks in NUMDesc_prepare() and get_th() match #1.

  • Chao Lisaw the final versiontrailerIn #2, Chao explicitly approved removing the unnecessary parentheses.
formatting.c cleanup: Use array syntax instead of pointer arithmetic
29 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

The same three pointer-arithmetic expressions become array subscripts as in #1. The fill_str() hunk uses max instead of maxlen solely to accommodate the omitted preceding parameter conversion.

  • Chao Lisaw the final versiontrailerIn #2, Chao explicitly approved replacing pointer arithmetic with array syntax.
formatting.c cleanup: Add some const pointer qualifiers
29 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #11 of 1 reviewer saw the final version

The commit retains all const-char changes from #1 and adds const text parameters to do_to_timestamp(), datetime_to_char_body(), and NUM_cache(), incorporating and extending Chao's inline contribution in #2. Its Co-authored-by trailer credits Chao alongside original author Peter, so Chao is excluded from suggested reviewers.

  • Peter Eisentrautsaw the final versioncommittercommitted the patch
formatting.c cleanup: Use size_t for string length variables and arguments
29 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #10 of 1 reviewer saw the final version

The commit matches the size_t patch in #1 except for omitting the fill_str() parameter conversion from int max to size_t maxlen and its associated body edits. This leaves 88 changed lines instead of the submitted 96.

  • Chao Lisaw an earlier versiontrailerIn #2, Chao approved the submitted size_t conversions before the fill_str() signature conversion was dropped.
formatting.c cleanup: Move loop variables definitions into for statement
28 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

All 45 added and removed lines match #1, moving loop-variable declarations into for statements throughout src/backend/utils/adt/formatting.c.

  • Chao Lisaw the final versiontrailerIn #2, Chao approved the narrower variable scopes and reported searching for missed occurrences without finding any.
formatting.c cleanup: Remove dashes in comments
28 Oct 2025Peter Eisentrautmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

All 174 added and removed lines match the comment-dash cleanup in #1, with no logic changes.

  • Chao Lisaw the final versiontrailerIn #2, Chao explicitly approved the comment-only cleanup and noted that it changed no logic.

Credits across 13 commits

Author
Peter EisentrautLLM12
Reviewer
Chao Li12
Peter Eisentrautcommitter1
Co author
Chao Li1
Committer
Peter Eisentraut13

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