[HACKERS] Module extension for parsing and rewriting functions with infixed syntax

2011-08-06 Thread Thomas Girault
Hello, I am working on a PostgreSQL extension module which defines new grammar rules completing the classical SQL syntax defined in the src/backend/parser/gram.y file. Basically, I want to handle predicates having an infixed syntax { X IS Y } and rewrite them as classical Boolean functions with

Re: [HACKERS] Module extension for parsing and rewriting functions with infixed syntax

2011-08-06 Thread Tom Lane
Thomas Girault toma.gira...@gmail.com writes: func_expr: ... | func_arg_expr IS func_name over_clause However, my first attempt leads to the following errors : /usr/bin/bison -d -o gram.c gram.y gram.y: conflicts: 84 shift/reduce, 807 reduce/reduce gram.y: expected