Update module lib/pq to v1.7.0 (#581)
Update module lib/pq to v1.7.0 Reviewed-on: https://kolaente.dev/vikunja/api/pulls/581
This commit is contained in:
7
vendor/github.com/lib/pq/conn.go
generated
vendored
7
vendor/github.com/lib/pq/conn.go
generated
vendored
@ -157,7 +157,7 @@ type conn struct {
|
||||
notificationHandler func(*Notification)
|
||||
|
||||
// GSSAPI context
|
||||
gss Gss
|
||||
gss GSS
|
||||
}
|
||||
|
||||
// Handle driver-side settings in parsed connection string.
|
||||
@ -1158,7 +1158,10 @@ func (cn *conn) auth(r *readBuf, o values) {
|
||||
errorf("unexpected authentication response: %q", t)
|
||||
}
|
||||
case 7: // GSSAPI, startup
|
||||
cli, err := NewGSS()
|
||||
if newGss == nil {
|
||||
errorf("kerberos error: no GSSAPI provider registered (import github.com/lib/pq/auth/kerberos if you need Kerberos support)")
|
||||
}
|
||||
cli, err := newGss()
|
||||
if err != nil {
|
||||
errorf("kerberos error: %s", err.Error())
|
||||
}
|
||||
|
Reference in New Issue
Block a user