Re: Fix deprecation warning with libxml2 2.14 in contrib/xml2/ - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix deprecation warning with libxml2 2.14 in contrib/xml2/
Date
Msg-id 166455.1751604296@sss.pgh.pa.us
Whole thread Raw
In response to Fix deprecation warning with libxml2 2.14 in contrib/xml2/  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> 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.

Seems reasonable.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Fix deprecation warning with libxml2 2.14 in contrib/xml2/
Next
From: Dilip Kumar
Date:
Subject: Re: [PATCH] Allow parallelism for plpgsql return expression after commit 556f7b7