Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: add SQLState #1080

Merged
merged 1 commit into from May 11, 2022
Merged

error: add SQLState #1080

merged 1 commit into from May 11, 2022

Commits on May 6, 2022

  1. error: add SQLState

    SQLState is also implemented in pgx.
    This change allow to get the SQL state without importing lib/pq, see
    for example here
    
    https://github.com/cockroachdb/cockroach-go/blob/e1659d1d3580897bce4cea1181724872d792ce53/crdb/tx.go#L232
    drakkan committed May 6, 2022
    Copy the full SHA
    ef3111e View commit details
    Browse the repository at this point in the history