potygen icon indicating copy to clipboard operation
potygen copied to clipboard

Postgres SQL Parser and type generator

Results 5 potygen issues
Sort by recently updated
recently updated
newest added

Hi there, first of all, thanks for the effort that's being put into the PostgreSQL ecosystem! I recently encountered [`prettier-plugin-embed`](https://github.com/Sec-ant/prettier-plugin-embed) by @Sec-ant, which enables usage of an SQL formatter such...

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...

I've tried to implement potygen in our project, but on the first query thats what i get: ``` Error: 'USER-DEFINED' was not part of the known postgres types or aliases...

This query gives `Error: Unexpected token at 1:1324`: ```sql with "createIfCTE" as (insert into "loc" ("branch", "crTC", "deptID", "details", "handle", "id", "idkey", "image0ID", "note0", "okey", "shipToID", "srcID", "title", "tkvTC", "typename",...

I am using the prettier plugin programmatically to reformat the queries we send for logging/debugging purposes, and so probably the most important queries we'd like to prettify are the ones...