improve pg sql parser
Merge pull request #695 from wenshao/master

improve pg sql parser