Re: SQL/XML extension

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: r(dot)obdeijn(at)student(dot)utwente(dot)nl, pim(at)sierhuis(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org, Djoerd Hiemstra <d(dot)hiemstra(at)utwente(dot)nl>
Subject: Re: SQL/XML extension
Date: 2005-08-18 16:50:42
Message-ID: 200508180950.42793.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Paul, Rob,

I just read with some interest your paper on XML queries with PostgreSQL.
I'm particularly puzzled by some of your conclusions, and thought you might
want to discuss them with the PGSQL-Hackers mailing list.

Particulary:
Functions should be able to have a variable amount of arguments.

I find this conclusion odd, because function overloading (that is, the idea
that a function is defined by the combination of its name and the number and
type of arguments) is now enshrined in the SQL2003 standard. Of course,
I wouldn't be at all surprised to find out that the SQL committee had broken
their own standard. ;-)

Re-defining AS would, as you notice, break many things. However, you could
easily get around this through quoting. While that would not be exactly
adherent to the standard, it's easier that re-writing the parser.

In some ways, it seems to me that SQL/XML might be better defined as a
separate interface to the database; that is, it's own "shell" which is
incompatible with SQL (since the committee seems to have deliberately made it
incompatible).

Thoughts?

--
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2005-08-18 17:44:10 Re: SQL/XML extension
Previous Message Josh Berkus 2005-08-18 16:35:00 Re: SQL/XML extension