1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Remove munging of xml and xpath params to xpath(). The XML must now be a well formed XML document.

This commit is contained in:
Andrew Dunstan
2009-03-23 21:00:39 +00:00
parent 1079564979
commit c9cab106f6
2 changed files with 17 additions and 39 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.472 2009/02/07 14:16:45 momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.473 2009/03/23 21:00:38 adunstan Exp $ -->
<chapter id="functions">
<title>Functions and Operators</title>
@ -8447,6 +8447,11 @@ SELECT xmlagg(x) FROM (SELECT * FROM test ORDER BY y DESC) AS tab;
corresponding to the node set produced by the XPath expression.
</para>
<para>
The second argument must be a well formed XML document. In particular,
it must have a single root node element.
</para>
<para>
The third argument of the function is an array of namespace
mappings. This array should be a two-dimensional array with the