Re: XMLDocument (SQL/XML X030)

From: solai v <solai(dot)cdac(at)gmail(dot)com>
To: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
Cc: Chapman Flack <jcflack(at)acm(dot)org>, Robert Treat <rob(at)xzilla(dot)net>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: XMLDocument (SQL/XML X030)
Date: 2026-08-13 06:21:32
Message-ID: CAF0whuedeZmx4kdg36ZPbZeYoFnPzdd7g_05xQLQhnNVoONBmA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 13, 2026 at 11:45 AM Jim Jones <jim(dot)jones(at)uni-muenster(dot)de> wrote:
>
> rebase
>
> Jim

Hi Jim,

I tested the latest v12 patch on PostgreSQL 20devel.
I applied the patch cleanly and rebuilt PostgreSQL with libxml
support. I tested it using a fresh cluster.

The following tests passed:
\df xmldocument — the function is present.
xmldocument('<root><foo>bar</foo></root>'::xml) — returned the input
XML unchanged.
xmldocument(xmlforest(10 AS x, 20 AS y)) — returned <x>10</x><y>20</y>.
xmldocument(NULL::xml) — returned NULL.
xmldocument(xmlcomment('comment')) — returned the XML comment correctly.

I also ran the regression tests, and all tests passed.
I did not find any issues during my testing. The patch looks good to me.

Thanks for the work on this patch.

Regards,
Solai

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-08-13 06:28:23 Re: problems with toast.* reloptions
Previous Message Nitin Motiani 2026-08-13 05:59:21 Re: Adding pg_dump flag for parallel export to pipes