improved sql parser for postgresql
Merge pull request #716 from wenshao/master

improved sql parser for postgresql