Database protection tests should assert the invariant and the specific constraint, not only…
Database protection tests should assert the invariant and the specific constraint, not only one error code observed on one server version. When supported versions emit distinct integrity-violation SQLSTATEs for the same restrictive foreign key, allow only that narrow verified set…