small fix
closed #1349
small fix for postgresql
Merge branch 'master' of https://github.com/yupe/yupe