| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
| Cc: | "Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Deprecation warnings on Rocky 10.2 with current dev branch |
| Date: | 2026-10-07 16:13:18 |
| Message-ID: | 2403560.1791389598@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
I wrote:
> After studying the libxml2 source code I realized that
> xmlParseInNodeContext doesn't automatically attach anything at all to
> the passed-in node or its document; those are used only as context.
> So I think we can clean this up noticeably by attaching the content
> node list to that root node instead of returning it separately.
> Essentially, this is moving the data structure hacking that
> xmltotext_with_options did into xml_parse. Here's a slightly less
> hasty version.
The cfbot pointed out that this patch is drawing warnings since
3ee0edb91 added -Wshadow=local. Here's a less shadow-y version;
no substantive change.
regards, tom lane
| Attachment | Content-Type | Size |
|---|---|---|
| v3-0001-Modernize-our-parsing-of-XML-data-in-CONTENT-mode.patch | text/x-diff | 12.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2026-10-07 16:18:09 | Re: REPACK (CONCURRENTLY) can't complete after ~105M concurrent updates/deletes |
| Previous Message | shihao zhong | 2026-10-07 16:12:49 | Re: [PG19] Wrong results from NOT NULL-based expression simplification |