bug fixed for postgresql alter parser. for issue #2310

This commit is contained in:
wenshao
2018-02-02 13:31:58 +08:00
parent 729e203df9
commit 0604a3c71b
4 changed files with 54 additions and 6 deletions
@@ -3007,4 +3007,12 @@ public class PGOutputVisitor extends SQLASTOutputVisitor implements PGASTVisitor
return false;
}
@Override
public boolean visit(SQLAlterTableAddColumn x) {
boolean odps = isOdps();
print0(ucase ? "ADD COLUMN " : "add column ");
printAndAccept(x.getColumns(), ", ");
return false;
}
}