Skip to content

Parsing errors returned by *pgxpool.Pool.QueryRow into *pgconn.PgError #1325

Discussion options

You must be logged in to vote

Ah, after digging into the pgx v5 code more I see that pgconn was made part of pgx now. This is also clearly referenced in the CHANGELOG and the pgconn repository.

If anyone else makes this mistake with v5, you can just import github.com/jackc/pgx/v5/pgconn instead of importing github.com/jackc/pgx/pgconn. The code example in the Wiki works just fine.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rahulsabbineni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant