improved sql parser for postgresql, support create table inherits
add PGExceptionSorter
Merge pull request #730 from wenshao/master

add PGExceptionSorter