-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add pgx driver package #517
Changes from 3 commits
995cc27
420fede
0abe9fc
7f32fe6
6c61cf3
98447ca
2afbd8d
db16491
611d4d1
def44ba
d6e4514
f2fa789
84b6e46
42470f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,15 @@ require ( | |
github.com/go-sql-driver/mysql v1.5.0 | ||
github.com/gobuffalo/here v0.6.0 | ||
github.com/gocql/gocql v0.0.0-20190301043612-f6df8288f9b4 | ||
github.com/gofrs/uuid v4.0.0+incompatible // indirect | ||
github.com/golang/snappy v0.0.1 // indirect | ||
github.com/google/go-github v17.0.0+incompatible | ||
github.com/gorilla/mux v1.7.4 // indirect | ||
github.com/hashicorp/go-multierror v1.1.0 | ||
github.com/jackc/pgconn v1.3.2 // indirect | ||
github.com/jackc/fake v0.0.0-20150926172116-812a484cc733 // indirect | ||
github.com/jackc/pgconn v1.3.2 | ||
github.com/jackc/pgerrcode v0.0.0-20201024163028-a0d42d470451 | ||
github.com/jackc/pgx v3.6.2+incompatible | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like v4.10.1 is the latest release. Any reason why we don't use that? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That was simply a mistake resulting from the fact that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Most significantly, in v3 the connection string parsing didn't include any checks on the content scheme name (see https://github.com/jackc/pgx/blob/a413de981978e4100d5736af7aaa2b392511612f/conn.go#L1246 and https://github.com/jackc/pgx/blob/a413de981978e4100d5736af7aaa2b392511612f/conn.go#L979) whereas now the |
||
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect | ||
github.com/ktrysmt/go-bitbucket v0.6.4 | ||
github.com/lib/pq v1.8.0 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use this implementation and reference it: https://github.com/lib/pq/blob/v1.9.0/conn.go#L1611