Re: Deprecation warnings on Rocky 10.2 with current dev branch

From: "Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Deprecation warnings on Rocky 10.2 with current dev branch
Date: 2026-07-17 14:04:00
Message-ID: ZR2PPFF1830B877265B48D4E96A9BA10D42D2C62@ZR2PPFF1830B877.CHEP278.PROD.OUTLOOK.COM
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>> On 17 Jul 2026, at 14:47, Daniel Westermann (DWE) <daniel(dot)westermann(at)dbi-services(dot)com> wrote:

>> [1086/2136] Compiling C object src/backend/postgres_lib.a.p/utils_adt_xml.c.o
>> ../postgresql/src/backend/utils/adt/xml.c: In function ‘xml_parse’:
>> ../postgresql/src/backend/utils/adt/xml.c:1924:25: warning: ‘xmlKeepBlanksDefault’ is deprecated [-Wdeprecated-declarations]
>> 1924 |                         save_keep_blanks = xmlKeepBlanksDefault(preserve_whitespace ? 1 : 0);
>>      |                         ^~~~~~~~~~~~~~~~
>> In file included from ../postgresql/src/backend/utils/adt/xml.c:51:

>Which version of libxml2 do you have installed?

The standard on Rocky 10:

postgres(at)rocky10-pgbox:/home/postgres/ [pg20] rpm -qa | grep libxml2
libxml2-2.12.5-10.el10_2.2.x86_64
libxml2-devel-2.12.5-10.el10_2.2.x86_64

Regards
Daniel

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2026-07-17 14:08:23 Re: Caching a partition index's parent OID in the relcache?
Previous Message Ayush Tiwari 2026-07-17 13:41:51 Caching a partition index's parent OID in the relcache?