Re: Fix deprecation warning with libxml2 2.14 in contrib/xml2/

From: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
To: Michael Paquier <michael(at)paquier(dot)xyz>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fix deprecation warning with libxml2 2.14 in contrib/xml2/
Date: 2025-07-04 07:12:33
Message-ID: a14ded51-04a7-4af8-b78c-84d9cb062c5e@uni-muenster.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2025-07-04 07:29:59 RE: A assert failure when initdb with track_commit_timestamp=on
Previous Message Hannu Krosing 2025-07-04 07:12:20 Re: Adding pg_dump flag for parallel export to pipes