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

From: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
To: Marcos Pegoraro <marcos(at)f10(dot)com(dot)br>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Vik Fearing <vik(at)postgresfriends(dot)org>
Subject: Re: [PoC] XMLCast (SQL/XML X025)
Date: 2025-11-28 15:30:02
Message-ID: 30fec692-76d9-453b-b6c3-84d522f1564c@uni-muenster.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Oi Marcos,

Thanks for the review.

On 28/11/2025 13:04, Marcos Pegoraro wrote:
> Did you forget the interval and bytea types here ?

Good catch. I added "binary" to the paragraph.

> Why are saying character instead of text ? I found it only on SGML part.

With "character type" I meant to include text, varchar, and char, as in
the docs[1].

> Are you planning to add casting INF/-INF for Date type too ?

xsd:date does not support infinity.

v16 attached.

Best, Jim

[1] https://www.postgresql.org/docs/current/datatype-character.html

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2025-11-28 15:41:35 Re: Revisiting ALTER COLUMN POSITION support
Previous Message Mircea Cadariu 2025-11-28 15:18:02 Re: Metadata and record block access stats for indexes