"Asif Ali" <asifalirehman(at)gmail(dot)com> writes:
> here is the test case
It works for me:
regression=# select func();
INFO: sql error msg ex -----
INFO: sql error msg ex -----
INFO: sql error v_msg ex -----
func
------
0
(1 row)
Are you sure you applied the patch correctly? In particular, you'd need
a working version of bison to rebuild the gram.y file --- the behavior
you're reporting sounds like what would happen if that hadn't gotten
rebuilt.
regards, tom lane