Jan 2024

3 commits
Revert "Add support for parsing of large XML data (>= 10MB)"
26 Jan 2024Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1reverts 1 commit here
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

This reverses the XML_PARSE_HUGE changes and fake-root parsing introduced by 2197d06224, leaving the API cleanup intact. No attached patch proposes the revert; Michael announces its security rationale in #13 and confirms completion in #15.

  • Dmitry Kovalsaw the final versionLLM analysis, 93% sureBefore the revert was committed, Dmitry explicitly endorsed reverting over server-resource concerns and suggested custom builds for users needing larger XML elements #14.
Add support for parsing of large XML data (>= 10MB)
17 Jan 2024Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #112 of 2 reviewers saw the final version

This commits the XML_PARSE_HUGE and xmlParseInNodeContext() portion of #11, with comment edits and declaration reordering in src/backend/utils/adt/xml.c. The contrib/xml2 API replacements had already landed separately in 65c5864d7f.

  • Tom Lanesaw the final versiontrailerTom examined libxml2's limit handling and security implications and opposed an enabling GUC; the large-input implementation subsequently received only light edits, while API cleanup was split out #4 #7.
  • Michael Paquiersaw the final versiontrailerMichael examined the flag and fake-root parsing, requested comment and API updates, evaluated the revision, and committed the final version #6 #10 #12.
xml2: Replace deprecated routines with recommended ones
16 Jan 2024Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3REL_15_STABLE15.7REL_14_STABLE14.12REL_13_STABLE13.15+1 moreAlso in: Time to back-patch libxml deprecation fixes? (not this thread)
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #111 of 1 reviewer saw the final version

This extracts the deprecated-API replacements in contrib/xml2/xpath.c and contrib/xml2/xslt_proc.c from #11, omitting XML_PARSE_HUGE and all core XML changes. Michael explicitly confirms extracting this portion of the second patchset #12.

  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 3 commits

Author
Dmitry Koval2
Reviewer
Michael Paquiercommitter2
Tom Lane1
Committer
Michael Paquier3