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

really fix #191