| From: | Marcos Pegoraro <marcos(at)f10(dot)com(dot)br> |
|---|---|
| To: | Jim Jones <jim(dot)jones(at)uni-muenster(dot)de> |
| 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-29 11:38:58 |
| Message-ID: | CAB-JLwbwL5HE3sFp1Q3b-D8z2k5==oHY-FWUakRo+G22sNxCHw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Em sex., 28 de nov. de 2025 às 17:07, Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
escreveu:
> Character data type in this sentence means the character types[1] as a
> category, not the type character or character varying.
>
Yes, I understand that, but saying character confuses me a bit.
Interval is already part of the date/time types[1]
>
Fine.
Not really. XMLCast implements the type-specific lexical and semantic
> rules defined by SQL/XML, which apply only to base (non-domain) data
> types. Although the grammar permits a domain name as a target, the
> standard does not define any XML-specific semantics for domains.
> Supporting them would go beyond the scope of this patch, and users
> who need a domain can IMHO cast the XMLCast result afterward.
>
Correct. So maybe would be fine to explain this on SGML part, because a
domain is sometimes used just as an alias of a base type, without checking
or any other feature.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sugamoto Shinya | 2025-11-29 12:36:59 | Re: [PATCH] Add error hints for invalid COPY options |
| Previous Message | Miłosz Bieniek | 2025-11-29 11:07:05 | Re: [PATCH] Add `headerscheck` run_target to meson |