Mar 2026

2 commits
xml2: Fix failure with xslt_process() under -fsanitize=undefined
13 Mar 2026Michael Paquiermaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18REL_14_STABLE14.23
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #26

The commit retains all regression changes from #26, but moves the empty-output handling inside the resstat >= 0 branch in contrib/xml2/xslt_proc.c and uses cstring_to_text("") for that case.

Fix misuse of "volatile" in xml.c
9 Mar 2026Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #221 of 1 reviewer saw the final version

The commit matches the pointer-qualification and cast-removal changes in #22, with only whitespace differences in the declarations. The sender signs as ChangAo Chen, matching the commit's author credit.

  • Michael Paquiersaw the final versioncommittercommitted the patch

Jun - Jul 2025

2 commits
xml2: Improve error handling of libxml2 calls
1 Jul 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #100 of 2 reviewers saw the final version

This commits the contrib/xml2 portion of the two-patch series #10. Comparing resulting files shows only formatting changes and an added pg_xml_done(xmlerrcxt, false) in xpath_string(), explicitly reported in #15.

  • Jim Jonessaw an earlier versiontrailerJim examined libxml2 failure handling in #7 and #9 and approved the split series in #11, before the functional cleanup correction described in #15.
  • Tom Lanesaw an earlier versiontrailerTom's review #4 identified missing error-context checks, allocation cleanup, workspace ownership problems, and cleanup ordering, prompting the substantial restructuring in #5.
Improve error handling of libxml2 calls in xml.c
30 Jun 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #101 of 1 reviewer saw the final version

This commits only the backend patch from the two-part series #10. Reconstructing its src/backend/utils/adt/xml.c result from the attachment produces exactly the committed file.

  • Jim Jonessaw the final versiontrailerJim identified the unchecked xmlXPathCastNodeToString() call in #7, proposed the xmlAddChildList() check in #9, and approved the final split series in #11.

Credits across 4 commits

Author
Michael Paquier2 LLM3
cca55071
Reviewer
Jim Jones2
Michael Paquiercommitter1
Tom Lane1
Reported by
Alexander Lakhin1
Jim Jones1
Karavaev Alexey1
Committer
Michael Paquier4

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