fix bug in postgres
Merge branch 'master' of github.com:astaxie/beego