Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
victor-wiki opened this issue Sep 30, 2022 · 0 comments
Open

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

victor-wiki opened this issue Sep 30, 2022 · 0 comments

Comments

@victor-wiki
Copy link

victor-wiki commented Sep 30, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants