Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add constraint name to error for unique constraint, check constraint,…
… and foreign key constraint violations. Those constraint names are then propagated over the PostgreSQL wire protocol and will show up for example in JDBC exceptions (org.postgresql.util.PSQLException#getServerErrorMessage().getConstraint()). This commit improves PostgreSQL compatibility of CockroachDB error messages.
- Loading branch information