open-vault/vendor/github.com/cockroachdb/cockroach-go/crdb/README.md
2018-10-03 09:55:26 -07:00

10 lines
338 B
Markdown

CRDB
====
`crdb` is a wrapper around the logic for issuing SQL transactions which performs
retries (as required by CockroachDB).
Note that unfortunately there is no generic way of extracting a pg error code;
the library has to recognize driver-dependent error types. We currently support
`github.com/lib/pq` and `github.com/jackc/pgx`.