improved postgresql parser. bug fixed for issue #2153

This commit is contained in:
wenshao
2017-12-02 22:59:28 +08:00
parent d82e37b13b
commit 295aa9ca29
2 changed files with 5 additions and 4 deletions
@@ -2985,13 +2985,14 @@ public class PGOutputVisitor extends SQLASTOutputVisitor implements PGASTVisitor
print0(ucase ? "INDEX " : "index ");
x.getName().accept(this);
if (x.getUsing() != null) {
print0(ucase ? " USING " : " using ");
;
print0(x.getUsing());
}
x.getName().accept(this);
print0(ucase ? " ON " : " on ");
x.getTable().accept(this);
print0(" (");