Re: XMLDocument (SQL/XML X030) - Mailing list pgsql-hackers

From Chapman Flack
Subject Re: XMLDocument (SQL/XML X030)
Date
Msg-id 6798EFBB.9090608@acm.org
Whole thread Raw
In response to Re: XMLDocument (SQL/XML X030)  (Jim Jones <jim.jones@uni-muenster.de>)
List pgsql-hackers
On 01/28/25 03:14, Jim Jones wrote:
> I'd say the difference is due to how the two systems handle the XML data
> type and unquoted identifiers in general, rather than a difference in
> the behaviour of the function itself. 

I'd go further and say it's entirely down to how the two systems
handle unquoted identifiers. In neither case was there ever any
XML value created with XML names in one case and then changed to
the other. The SQL names were already in their (DB2- or PostgreSQL-
specific) folded form by the first moment any XML library code ever
saw them. The XML code handled them faithfully ever after, whether
in serialized or in node-tree form.

Presumably both DB2 and PostgreSQL users soon know in their sleep
what their respective systems do to unquoted identifiers, and know
that quoting is the way to control that when it matters.

Regards,
-Chap



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Windows CFBot is broken because ecpg dec_test.c error
Next
From: Peter Eisentraut
Date:
Subject: Re: NOT ENFORCED constraint feature