improve postgres parser support, fix #3858

This commit is contained in:
高铁
2020-10-05 18:42:53 +08:00
parent 7e066d1b72
commit 81c0917b6d
4 changed files with 158 additions and 0 deletions
@@ -128,6 +128,11 @@ public class PGExprParser extends SQLExprParser {
break;
}
return values;
} else if (lexer.token() == Token.WITH) {
SQLQueryExpr queryExpr = new SQLQueryExpr(
createSelectParser()
.select());
return queryExpr;
}
return super.primary();