Open
Description
Describe the problem
The string error matching is brittle. The goals are good. Retrying when an error might be permanent no longer hurts in the way it once did: jobs use exponential backoff and record a log of failures. The user can cancel a job if the system makes the wrong decision systematically.
cockroach/pkg/sql/pgwire/pgerror/errors.go
Lines 164 to 166 in da4f6a4
Jira issue: CRDB-16692