Feb 2025

1 commit
Make escaping functions retain trailing bytes of an invalid character.
15 Feb 2025Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.4REL_16_STABLE16.8REL_15_STABLE15.12REL_14_STABLE14.17REL_13_STABLE13.20
LLM analysis, 97% suremodified before commitlight changesfrom patchset #81 of 3 reviewers saw the final version

The commit preserves all escaping and diagnostic-control changes from #8, with identical string_utils.c hunks; fe-exec.c uses printfPQExpBuffer/libpq_gettext instead of libpq_append_conn_error and omits trailing newlines in the diagnostic strings. The commit also expands the rationale and explicitly credits Andres Freund as author and Tom Lane as co-author d6d29b2133.

  • Andrew Dunstansaw an earlier versionLLM analysis, 87% sureAndrew endorsed preserving more bytes and assessed the attached WIP patch as trivial, while expressing concern about last-minute changes; incomplete-character handling and diagnostic logic were added afterward #3.
  • Noah Mischsaw an earlier versionLLM analysis, 98% sureNoah requested preserving the incomplete/invalid error distinction before release, which the next revision implemented alongside new diagnostic-suppression logic #7 #8.
  • Jeff Davissaw the final versionLLM analysis, 99% sureJeff analyzed the patch's per-byte replacement behavior with a concrete byte sequence and explicitly endorsed keeping the proposed behavior before commit #11 #14.

Credits across 1 commit

Author
Andres Freund1
Reported by
Jeff Davis1
Co author
Tom Lane1
Committer
Tom Lane1