Open zdhuangelephant opened 10 months ago
Greetings!
PostgreSQL specific DO
is not supported and you will need to provide or sponsor an implementation when you are interested in this particular feature.
is that not working ?
is that not working ?
It is working by only passing through the text block. You would at least introduce a DO $$BEGIN ... END$$
statement and certainly you will want to parse this block in order to get the AST of your INSERT ...
statement.
Always check against the Latest SNAPSHOT of JSQLParser and the Syntax Diagram
Failing SQL Feature:
Encountered unexpected token: "DO" "DO"
can't be parsedSQL Example:
Software Information:
Exception in thread "main" net.sf.jsqlparser.JSQLParserException: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "DO" "DO" at line 1, column 1.