bug fixed for sql parser for postgresql, for issue 1204, https://github.com/alibaba/druid/issues/1204

This commit is contained in:
高铁
2016-05-06 10:22:46 +08:00
parent 9476b99b0c
commit b56f007e2a
3 changed files with 163 additions and 0 deletions
@@ -65,6 +65,10 @@ public class PGExprParser extends SQLExprParser {
}
return super.parseDataType();
}
public PGSelectParser createSelectParser() {
return new PGSelectParser(this);
}
public SQLExpr primary() {
if (lexer.token() == Token.ARRAY) {