Different exception for Postgres.