Closed
Description
I see this in scripts:
TRUNCATE myfancytable;
This is allowed by Postgresql:
https://www.postgresql.org/docs/current/sql-truncate.html
TRUNCATE [ TABLE ] [ ONLY ] name [ * ] [, ... ]
[ RESTART IDENTITY | CONTINUE IDENTITY ] [ CASCADE | RESTRICT ]
However, the parser complains with:
net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "myfancytable" <S_IDENTIFIER>
at line 3, column 10.
Was expecting:
"TABLE"
Metadata
Metadata
Assignees
Labels
No labels