Re: [DOCS] XMLTABLE default namespace in docs

Alvaro Herrera <alvherre@2ndquadrant.com>

From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: pgsql-docs <pgsql-docs@postgresql.org>, Pavel Stehule <pavel.stehule@gmail.com>
Date: 2018-06-21T21:03:22Z
Lists: pgsql-docs
On 2017-Sep-11, Daniel Gustafsson wrote:

> When reviewing Pavels patch for default namespace in XMLTABLE, I came across
> this sentence in the devel (and 10beta) docs in subsection 9.14.3.3. xmltable:
> 
> 	The following example illustrates how the XMLNAMESPACES clause can be
> 	used to specify the default namespace, and a list of additional
> 	namespaces used in the XML document as well as in the XPath
> 	expressions:
> 
> That seems odd since we don’t support default namespaces (hence the patch for
> adding it).  Am I reading it wrong, or shouldn’t we apply something like the
> attached for now?

You're right, we should -- thanks for noticing.  I have pushed it now.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Commits

  1. Disclaim support for default namespace in XMLTABLE