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

fails to parse pg_stat_statements_info view #76

Open
gsimko opened this issue May 20, 2023 · 0 comments
Open

fails to parse pg_stat_statements_info view #76

gsimko opened this issue May 20, 2023 · 0 comments

Comments

@gsimko
Copy link

gsimko commented May 20, 2023

I'm getting the following error:
ParserError: Unexpected token at 3:35
...
parseStack: {
text: ' SELECT pg_stat_statements_info.dealloc,\n' +
' pg_stat_statements_info.stats_reset\n' +
' FROM pg_stat_statements_info() pg_stat_statements_info(dealloc, stats_reset);',

It's confused by the expression after the () in the third row. I'm not sure what's the meaning of this view as it's a built-in view for PG15 / pg_stat_statements_info.

@gsimko gsimko changed the title fails to parse pg_stat_statements_info function fails to parse pg_stat_statements_info view May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant