aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-04-16 12:26:21 +0900
committerMichael Paquier <michael@paquier.xyz>2024-04-16 12:26:21 +0900
commit4b0e5d6012918de2069a2636aacf60bbc6c0085c (patch)
tree85f2880f04cfd1fba5947a8af47ed82b9b99eb7a /src
parente0970862e8685e464a05135cfe813b27c686abb6 (diff)
downloadpostgresql-4b0e5d6012918de2069a2636aacf60bbc6c0085c.tar.gz
postgresql-4b0e5d6012918de2069a2636aacf60bbc6c0085c.zip
xml2: Replace deprecated routines with recommended ones
Some functions are used in the tree and are currently marked as deprecated by upstream. This commit refreshes the code to use the recommended functions, leading to the following changes: - xmlSubstituteEntitiesDefault() is gone, and needs to be replaced with XML_PARSE_NOENT for the paths doing the parsing. - xmlParseMemory() -> xmlReadMemory(). These functions, as well as more functions setting global states, have been officially marked as deprecated by upstream in August 2022. Their replacements exist since the 2001-ish area, as far as I have checked, so that should be safe. This has been originally applied as 65c5864d7fac without a backpatch, and this has come up as well when working on 400928b83. Per request from Tom Lane, for new buildfarm member indri that is able to see deprecation warnings with xmlSubstituteEntitiesDefault() in 16 and older stable branches. Author: Dmitry Koval Discussion: https://postgr.es/m/18274-98d16bc03520665f@postgresql.org Discussion: https://postgr.es/m/1012981.1713222862@sss.pgh.pa.us Bakpatch-through: 12
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions