Re: More new SQL/JSON item methods

Поиск
Список
Период
Сортировка
Искать
От
Chapman Flack
Тема
Re: More new SQL/JSON item methods
Дата
Msg-id
588818a001ec1ba066fa0dac079f1530@anastigmatix.net
Ответ на
Список
Дерево обсуждения
More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Peter Eisentraut <peter@eisentraut.org>
Re: More new SQL/JSON item methods jian he <jian.universality@gmail.com>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Andrew Dunstan <andrew@dunslane.net>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Andrew Dunstan <andrew@dunslane.net>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Andrew Dunstan <andrew@dunslane.net>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Peter Eisentraut <peter@eisentraut.org>
Re: More new SQL/JSON item methods Peter Eisentraut <peter@eisentraut.org>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Peter Eisentraut <peter@eisentraut.org>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Andrew Dunstan <andrew@dunslane.net>
Re: More new SQL/JSON item methods Peter Eisentraut <peter@eisentraut.org>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Andrew Dunstan <andrew@dunslane.net>
Re: More new SQL/JSON item methods Tom Lane <tgl@sss.pgh.pa.us>
Re: More new SQL/JSON item methods Andrew Dunstan <andrew@dunslane.net>
Re: More new SQL/JSON item methods Andrew Dunstan <andrew@dunslane.net>
Re: More new SQL/JSON item methods Tom Lane <tgl@sss.pgh.pa.us>
Re: More new SQL/JSON item methods Andrew Dunstan <andrew@dunslane.net>
Re: More new SQL/JSON item methods Tom Lane <tgl@sss.pgh.pa.us>
Re: More new SQL/JSON item methods Andrew Dunstan <andrew@dunslane.net>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: More new SQL/JSON item methods Tom Lane <tgl@sss.pgh.pa.us>
Re: More new SQL/JSON item methods Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: More new SQL/JSON item methods Tom Lane <tgl@sss.pgh.pa.us>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: More new SQL/JSON item methods Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Andrew Dunstan <andrew@dunslane.net>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: More new SQL/JSON item methods Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: More new SQL/JSON item methods Peter Eisentraut <peter@eisentraut.org>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods jian he <jian.universality@gmail.com>
Re: More new SQL/JSON item methods Chapman Flack <chap@anastigmatix.net>
Re: More new SQL/JSON item methods Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: More new SQL/JSON item methods Chapman Flack <chap@anastigmatix.net>
Re: More new SQL/JSON item methods Vik Fearing <vik@postgresfriends.org>
Re: More new SQL/JSON item methods Chapman Flack <chap@anastigmatix.net>
Re: More new SQL/JSON item methods Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: More new SQL/JSON item methods Chapman Flack <chap@anastigmatix.net>
On 2023-08-30 12:28, Alvaro Herrera wrote:
> Yeah, I think the experience of the SQL committee with XML was pretty
> bad, as you carefully documented.  I hope they don't make such a mess
> with JSON.

I guess the SQL committee was taken by surprise after basing something
on Infoset and XPath 1.0 for 2003, and then w3 deciding those things
needed to be scrapped and redone with the lessons learned. So the
SQL committee had to come out with a rather different SQL/XML for 2006,
but I'd say the 2003-2006 difference is the only real 'mess', and other
than going back in time to unpublish 2003, I'm not sure how they'd have
done better.

>         b) Otherwise, the result of JAE is the SQL/JSON sequence V_1,
>            ..., V_n.

This has my Spidey sense tingling, as it seems very parallel to SQL/XML
where the result of XMLQUERY is to have type XML(SEQUENCE), which is a
type we do not have, and I'm not sure we have a type for "JSON sequence"
either, unless SQL/JSON makes it equivalent to a JSON array (which
I guess is conceivable, more easily than with XML). What does SQL/JSON
say about this SQL/JSON sequence type and how it should behave?

Regards,
-Chap


В списке pgsql-hackers по дате отправления
От: Daniel Verite
Дата:
От: Ranier Vilela
Дата:
FAQ