Re: Fix deprecation warning with libxml2 2.14 in contrib/xml2/
Jim Jones <jim.jones@uni-muenster.de>
From: Jim Jones <jim.jones@uni-muenster.de>
To: Michael Paquier <michael@paquier.xyz>,
Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-04T07:12:33Z
Lists: pgsql-hackers
On 04.07.25 06:03, Michael Paquier wrote: > The solution is simple: we need to replace buf->content by a call to > xmlBufferContent(). This routine exists since be803967dbec (year > 2000), so 25 years should make that safe enough to use. > > The last batch of libxml deprecation warning fixes we have done was > last year in [1], so the one we have here is new. It seems to me that > it would not hurt to just backpatch that all the way down rather than > waiting. Comments are welcome. +1 -- Jim
Commits
-
Fix incompatibility with libxml2 >= 2.14
- e688cfc2bce1 13.22 landed
- ac166b19a171 14.19 landed
- 75c1eb60b2cc 15.14 landed
- d24a96ce2cdb 16.10 landed
- c911e7802e1d 17.6 landed
- 8d1071e7da30 18.0 landed
- 8aa54aa7eefb 19 (unreleased) landed