PostgreSQL: Improve SQL error handling