Use Postgres error code instead of message