potygen icon indicating copy to clipboard operation
potygen copied to clipboard

fails to parse pg_stat_statements_info view

Open gsimko opened this issue 1 year ago • 0 comments

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 avatar May 20 '23 23:05 gsimko