Re: patch: function xmltable
От
Craig Ringer
Тема
Re: patch: function xmltable
Дата
Msg-id
CAMsr+YHX=Uzf0_9UW0uD20pBW7oMthJ=E7Yb8QxeSOa0pO8hSg@mail.gmail.com
Ответ на
Re: patch: function xmltable (Pavel Stehule)
Список
Дерево обсуждения
patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Michael Paquier <michael.paquier@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Tom Lane <tgl@sss.pgh.pa.us>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Tom Lane <tgl@sss.pgh.pa.us>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Michael Paquier <michael.paquier@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Andrew Dunstan <andrew@dunslane.net>
Re: patch: function xmltable Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
Re: patch: function xmltable Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: function xmltable Craig Ringer <craig@2ndquadrant.com>
On 15 September 2016 at 19:31, Pavel Stehule wrote: > b_expr enforces shift/reduce conflict :( No problem then. I just thought it'd be worth allowing more if it worked to do so. > I found other opened question - how we can translate empty tag to SQL value? > The Oracle should not to solve this question, but PostgreSQL does. Some > databases returns empty string. Oracle doesn't solve the problem? it ERRORs? > I prefer return a empty string - not null in this case. I agree, and that's consistent with how most XML is interpreted. XSLT for example considers and to be pretty much the same thing. > The reason is simple > - Empty string is some information - and NULL is less information. When it > is necessary I can transform empty string to NULL - different direction is > not unique. Yep, I definitely agree. The only issue is if people want a DEFAULT to be applied for empty tags. But that's something they can do in a post-process pass easily enough, since XMLTABLE is callable as a subquery / WITH expression / etc. -- Craig Ringer http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления
От: Craig Ringer
Дата: