Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: ensure SQLSTATE 42710 on secondary errors
When creating an object that collides with another, we have to perform another lookup to get the kind of object that it collided with. If an error occurs during this second stage, we want the error to propose SQLSTATE "Duplicate object" (42710) to the client if there is no pgcode in the error object already. Release note: None
- Loading branch information