Re: Regression with large XML data input
zengman <zengman@halodbtech.com>
From: zengman <zengman@halodbtech.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, Michael Paquier <michael@paquier.xyz>
Cc: Erik Wienhold <ewie@ewie.name>, pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-12-29T10:43:00Z
Lists: pgsql-hackers
Attachments
- xml_keep_blanks_deprecation.diff (application/octet-stream)
> [ thinks... ] Actually, I believe we do have precedents in configure > for checking to see if a construct produces a warning, so we could > check to see if a reference to xmlKeepBlanksDefault draws one, and > only add -Wno-deprecated-declarations if it does. But I'm not sure > how to do that in meson. Hi, I've tried reworking this and attached the updated diff file here. Since I rarely work on this part of the code, I'm not entirely sure if it's fully correct — but the functionality seems to work fine in testing.Additionally, I'm not very familiar with Meson either, so I haven't made any changes to the relevant parts here. ``` postgres@zxm-VMware-Virtual-Platform:~/code/postgres$ env | grep COPT COPT=-Werror postgres@zxm-VMware-Virtual-Platform:~/code/postgres$ make -j8 > /dev/null postgres@zxm-VMware-Virtual-Platform:~/code/postgres$ ``` -- Regards, Man Zeng www.openhalo.org