Re: Regression with large XML data input - Mailing list pgsql-hackers

From zengman
Subject Re: Regression with large XML data input
Date
Msg-id tencent_0AB6B991075B81CC498CB803@qq.com
Whole thread Raw
In response to Re: Regression with large XML data input  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@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
Attachment

pgsql-hackers by date:

Previous
From: Soumya S Murali
Date:
Subject: Re: Checkpointer write combining
Next
From: Nazir Bilal Yavuz
Date:
Subject: Re: Streamify more code paths