Oct 2026

1 commit
Modernize our parsing of XML data in CONTENT mode.
15 Oct 2026Tom Lanemasterunreleased
LLM analysis, 95% surepart of a posted patchsetmoderate changesfrom patchset #101 of 1 reviewer saw the final version

The commit combines Tom Lane's parser rewrite from #9 with only the encoding fix from #10, omitting the whitespace workaround; its Author trailer credits Tom Lane. Applying the rewrite and encoding fix reproduces the committed implementation apart from initialization ordering, assertions and comments in src/backend/utils/adt/xml.c, plus expanded encoding tests in src/test/regress/sql/xml.sql and its expected output.

  • Rui Zhaosaw the final versiontrailerRui tested the rewrite and fixes across three libxml2 versions in #10, demonstrated why the retained encoding assignment was necessary and agreed to drop the whitespace workaround in #12, leaving only light cleanup and test changes to the accepted implementation.

Credits across 1 commit

Author
Tom Lane1
Reviewer
Rui Zhao1
Committer
Tom Lane1