postgresql_backend: catch exception from django.db.utils and not from the backend

really fix #191
Merge pull request #203 from bdauvergne/wip/fix-commit-db1875b90f

postgresql_backend: catch exception from django.db.utils and not from th...