From: | Jim Jones <jim(dot)jones(at)uni-muenster(dot)de> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: XMLDocument (SQL/XML X030) |
Date: | 2024-12-10 07:48:27 |
Message-ID: | 1f72cd06-0f3a-465a-8ec6-b5d4ebf0fe8d@uni-muenster.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 04.12.24 17:18, Jim Jones wrote:
> I'd like to propose the implementation of XMLDocument (SQL/XML X030).
> It basically returns an XML document from a given XML expression, e.g.
>
> SELECT
> xmldocument(
> xmlelement(NAME foo,
> xmlattributes(42 AS att),
> xmlelement(NAME bar,
> xmlconcat('va', 'lue'))
> )
> );
>
> xmldocument
> --------------------------------------
> <foo att="42"><bar>value</bar></foo>
> (1 row)
v1 attached attempts to implement XMLDocument() as described above.
Feedback welcome.
--
Jim
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Add-XMLDocument-function-SQL-XML-X030.patch | text/x-patch | 8.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | jian he | 2024-12-10 07:50:57 | Re: NOT ENFORCED constraint feature |
Previous Message | Anton A. Melnikov | 2024-12-10 07:44:29 | Re: shared-memory based stats collector - v70 |