Re: explain root element for auto-explain
От | Magnus Hagander |
---|---|
Тема | Re: explain root element for auto-explain |
Дата | |
Msg-id | 9837222c0908180142pb6d0d48ya067b9c197d34677@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: explain root element for auto-explain (Andrew Dunstan <andrew@dunslane.net>) |
Список | pgsql-hackers |
On Tue, Aug 18, 2009 at 02:11, Andrew Dunstan<andrew@dunslane.net> wrote: > > Tom Lane wrote: >> >> Andrew Dunstan <andrew.dunstan@pgexperts.com> writes: >> >>> >>> The attached tiny patch sets the <explain> root element for auto-explain >>> XML output, so it looks something like this: >>> >> >> This looks reasonable in itself, but it sort of begs the question on >> two other things: >> >> * what's the xmlns URL really going to be? >> > > By convention it refers to a place where you publish the schema for the > document type, but it is in fact completely arbitrary, and can refer to a > non-existant resource - as long as it is unique - it's just a namespace > designator, and from an XML POV has no more semantic significance that a > schema name does in SQL. I'd suggest using a different namespace than www.postgresql.org, just to be sure it won't conflict with some system we use in the future. Perhaps http://schemas.postgresql.org/<whatever>? It doesn't actually need to exist until we want to put anything there, but it mustn't conflict with anything else. -- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/
В списке pgsql-hackers по дате отправления: