pgsql: XPath fixes: - Function renamed to "xpath".

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: XPath fixes: - Function renamed to "xpath".
Date: 2007-05-21 17:10:30
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

Log Message:
XPath fixes:
- Function renamed to "xpath".
- Function is now strict, per discussion.
- Return empty array in case when XPath expression detects nothing
(previously, NULL was returned in such case), per discussion.
- (bugfix) Work with fragments with prologue: select xpath('/a',
'<?xml version="1.0"?><a /><b />'); // now XML datum is always wrapped
with dummy <x>...</x>, XML prologue simply goes away (if any).
- Some cleanup.

Nikolay Samokhvalov

Some code cleanup and documentation work by myself.

Modified Files:
datatype.sgml (r1.200 -> r1.201)
func.sgml (r1.379 -> r1.380)
xml.c (r1.42 -> r1.43)
catversion.h (r1.406 -> r1.407)
pg_proc.h (r1.455 -> r1.456)
xml.h (r1.18 -> r1.19)
xml.out (r1.17 -> r1.18)
xml_1.out (r1.16 -> r1.17)
xml.sql (r1.14 -> r1.15)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-05-21 17:57:35 pgsql: Teach tuplestore.c to throw away data before the "mark" point
Previous Message Peter Eisentraut 2007-05-21 15:11:12 pgsql: Fix spurious German index entry