potygen
potygen copied to clipboard
fails to parse pg_stat_statements_info view
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.