Re: [PATCH] Re: Adding XMLEXISTS to the grammar

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-08-05T04:23:22Z
Lists: pgsql-hackers
On lör, 2010-07-24 at 20:32 +0100, Mike Fowler wrote:
> Attached is the revised version of the patch addressing all the
> issues 
> raised in the review, except for the use of AexprConst and c_expr.
> With 
> my limited knowledge of bison I've failed to resolve the shift/reduce 
> errors that are introduced by using a_expr. I'm open to suggestions
> as 
> my desk is getting annoyed with me beating it in frustration!

It's committed now.  I ended up refactoring this a little bit so that
xpath() and xmlexists() can share more of the code.  Also, I relaxed the
grammar a bit for better compatibility with DB2, Oracle, and Derby.