Re: PostgreSQL vs SQL/XML Standards
От | Pavel Stehule |
---|---|
Тема | Re: PostgreSQL vs SQL/XML Standards |
Дата | |
Msg-id | CAFj8pRCr-Bqf9FaBS72d8zQjsUc=eyGXrOkdZ2MmrjdXZ820jA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: PostgreSQL vs SQL/XML Standards (Pavel Stehule <pavel.stehule@gmail.com>) |
Ответы |
Re: PostgreSQL vs SQL/XML Standards
|
Список | pgsql-hackers |
(It would not be exactly overloading, because of the special sugared
syntax known to the parser, but it could look like overloading, and be
intuitive to the user.)
If you have convenient access to Oracle to check compatibility, could you
compare this query?
SELECT * FROM XMLTABLE('.'
PASSING '<sale hatsize="7" customer="alice" taxable="false"/>'
COLUMNS
a boolean PATH 'string("cat" < "dog")',
b boolean PATH 'string("cat" > "dog")',
c boolean PATH 'string(sale/@taxable = false())');
(I suspect in Oracle it would also work without the string() wrappings,
but just to make it easy, I think this way it will work in both Oracle
and PG—that is, not error, though results may differ.)
Regards
Pavel Stehule
В списке pgsql-hackers по дате отправления: