grammars-v4 icon indicating copy to clipboard operation
grammars-v4 copied to clipboard

PostgreSql parser can't parse function and procedure's body

Open victor-wiki opened this issue 3 years ago • 0 comments

I tried to parse the PostgreSQL using the c# code generated by PostgreSQLLexer.g4 and PostgreSQLParser.g4, but I found that the body of function and procedure always be parsed as AnysconstContext, no details. I don't know why it can't be parsed as similar to other parsers (TSQL, PLSQL and MySQL). They are at least having some common points, such as the select, insert, update and delete clauses.

victor-wiki avatar Sep 30 '22 12:09 victor-wiki