sql parser support postgresql json operator

This commit is contained in:
高铁
2016-06-29 16:40:06 +08:00
parent c565260990
commit 022c0fe620
9 changed files with 274 additions and 4 deletions
@@ -165,7 +165,17 @@ public class PGLexer extends Lexer {
}
public void scanSharp() {
token = Token.POUND;
scanChar();
if (ch == '>') {
scanChar();
if (ch == '>') {
scanChar();
token = Token.POUNDGTGT;
} else {
token = Token.POUNDGT;
}
} else {
token = Token.POUND;
}
}
}