fix postgresql problem
Merge pull request #3 from goFrendiAsgard/master

fix postgresql problem