Re: [PoC] XMLCast (SQL/XML X025)

From: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Andrey Borodin <amborodin86(at)gmail(dot)com>, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, Kirk Wolak <wolakk(at)gmail(dot)com>
Subject: Re: [PoC] XMLCast (SQL/XML X025)
Date: 2024-07-05 14:18:17
Message-ID: 11f75849-0f10-40d3-bdfe-5ee81c8a0254@uni-muenster.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 02.07.24 18:02, Jim Jones wrote:
> It basically does the following:
>
> * When casting an XML value to a SQL data type, XML values containing
> XSD literals will be converted to their equivalent SQL data type.
> * When casting from a SQL data type to XML, the cast operand will be
> translated to its corresponding XSD data type.
>
v2 attached adds missing return for NO_XML_SUPPORT control path in
unescape_xml

--
Jim

Attachment Content-Type Size
v2-0001-Add-XMLCast-function-SQL-XML-X025.patch text/x-patch 72.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Karina Litskevich 2024-07-05 14:24:41 Re: Use pgBufferUsage for block reporting in analyze
Previous Message Vitaly Davydov 2024-07-05 14:06:19 RE: Slow catchup of 2PC (twophase) transactions on replica in LR