Re: Patch Review: Bugfix for XPATH() if text or attribute nodes are selected - Mailing list pgsql-hackers

From Nicolas Barbier
Subject Re: Patch Review: Bugfix for XPATH() if text or attribute nodes are selected
Date
Msg-id CAP-rdTYr6fH6L=aHsw7jRV_xzn9gLNEKN9525TdXo2MxcUc08g@mail.gmail.com
Whole thread Raw
In response to Re: Patch Review: Bugfix for XPATH() if text or attribute nodes are selected  (Florian Pflug <fgp@phlo.org>)
Responses Re: Patch Review: Bugfix for XPATH() if text or attribute nodes are selected
List pgsql-hackers
2011/6/29, Florian Pflug <fgp@phlo.org>:

> Secondly, there is little point in having an type XML if we
> don't actually ensure that values of that type can only contain
> well-formed XML.

+1. The fact that XPATH() must return a type that cannot depend on the
given expression (even if it is a constant string) may be unfortunate,
but returning XML-that-is-not-quite-XML sounds way worse to me.

Nicolas

-- 
A. Because it breaks the logical sequence of discussion.
Q. Why is top posting bad?


pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: WIP: Fast GiST index build
Next
From: Andrew Dunstan
Date:
Subject: Re: isolation tests are not being run in buildfarm