Re: [PATCH] Add XMLEXISTS function from the SQL/XML standard (was: Add xpath_exists Function)

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Mike Fowler <mike@mlfowler.com>
Cc: pgsql-hackers <pgsql-hackers@postgreSQL.org>
Date: 2010-05-26T10:14:12Z
Lists: pgsql-hackers
On tis, 2010-05-25 at 15:31 +0100, Mike Fowler wrote:
> I've been reading the SQL/XML standard and discovered that it defines a 
> function named XMLEXISTS that does exactly what the todo item 
> xpath_exists defines. My original patch named the function as per the 
> todo but I think using the function name from the standard is a better 
> idea. So this patch is the same as before, but the function is now named 
> XMLEXISTS instead of xpath_exists.

The XMLEXISTS function works with XQuery expressions and doesn't have
the call signature that your patch implements.