Re: Regression with large XML data input

From: zengman <zengman(at)halodbtech(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Erik Wienhold <ewie(at)ewie(dot)name>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Regression with large XML data input
Date: 2025-12-29 10:43:00
Message-ID: tencent_0AB6B991075B81CC498CB803@qq.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> [ 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(at)zxm-VMware-Virtual-Platform:~/code/postgres$ env | grep COPT
COPT=-Werror
postgres(at)zxm-VMware-Virtual-Platform:~/code/postgres$ make -j8 > /dev/null
postgres(at)zxm-VMware-Virtual-Platform:~/code/postgres$
```

--
Regards,
Man Zeng
www.openhalo.org

Attachment Content-Type Size
xml_keep_blanks_deprecation.diff application/octet-stream 3.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nazir Bilal Yavuz 2025-12-29 10:58:19 Re: Streamify more code paths
Previous Message Soumya S Murali 2025-12-29 10:07:40 Re: Checkpointer write combining