Tweaking error message filter to support PostgreSQL.