In IntelliJ I see the same error that the base parser cannot be compiled. When I open PostgreSQLParser I see this:
But the lexer has no such issues:
When I select Build and then Build Project from IntelliJ, all goes well. SO it seems to just be an issue that the generated parser is large.