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

Поиск
Список
Период
Сортировка
От Marcos Pegoraro
Тема Re: [PoC] XMLCast (SQL/XML X025)
Дата
Msg-id CAB-JLwbwL5HE3sFp1Q3b-D8z2k5==oHY-FWUakRo+G22sNxCHw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PoC] XMLCast (SQL/XML X025)  (Jim Jones <jim.jones@uni-muenster.de>)
Ответы Re: [PoC] XMLCast (SQL/XML X025)
Список pgsql-hackers
Em sex., 28 de nov. de 2025 às 17:07, Jim Jones <jim.jones@uni-muenster.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.

В списке pgsql-hackers по дате отправления: