Re: explain root element for auto-explain

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: explain root element for auto-explain
Date: 2009-08-18 08:42:53
Message-ID: 9837222c0908180142pb6d0d48ya067b9c197d34677@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 18, 2009 at 02:11, Andrew Dunstan<andrew(at)dunslane(dot)net> wrote:
>
> Tom Lane wrote:
>>
>> Andrew Dunstan <andrew(dot)dunstan(at)pgexperts(dot)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 Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Cave-Ayland 2009-08-18 09:21:11 Re: Another try at reducing repeated detoast work for PostGIS
Previous Message Pavel Stehule 2009-08-18 04:44:33 Re: [PATCH] plpythonu datatype conversion improvements