Re: XMLDocument (SQL/XML X030)

From: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: XMLDocument (SQL/XML X030)
Date: 2025-01-16 07:21:13
Message-ID: f3ad22ad-b4be-48a0-9612-5c9b8eb081b2@uni-muenster.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 16.01.25 07:11, Pavel Stehule wrote:
> It is better.
v2 attached updates the documentation.
>
> My note was related to a very different description of this
> functionality in DB2. So if you propose this function for better
> compatibility (and this function is implemented only by db2), it is
> surprising to see that this functionality is described (and probably
> implemented) very differently. Because I do not have db2 and I miss
> db2 knowledge, I don't know if differences in implementation and
> description are based on different technology (XML like graph or XML
> like string) or if it is something that is missing in this patch.

I suppose it's mostly because PostgreSQL and DB2 have different
structures for the XML data type; DB2 stores it in its native
hierarchical format rather than as text.

Thanks for the review.

Best, Jim

Attachment Content-Type Size
v2-0001-Add-XMLDocument-function-SQL-XML-X030.patch text/x-patch 9.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Banck 2025-01-16 07:35:32 Re: [PATCH] New predefined role pg_manage_extensions
Previous Message Bertrand Drouvot 2025-01-16 07:12:34 Re: Make pg_stat_io view count IOs as bytes instead of blocks