Update lib/pg to 1.1.1

This commit is contained in:
Dan Sosedoff
2019-07-05 16:53:01 -05:00
parent 6843ca966b
commit 5a50155cd3
13 changed files with 530 additions and 168 deletions

8
vendor/github.com/lib/pq/ssl.go generated vendored
View File

@@ -58,7 +58,13 @@ func ssl(o values) (func(net.Conn) (net.Conn, error), error) {
if err != nil {
return nil, err
}
sslRenegotiation(&tlsConf)
// Accept renegotiation requests initiated by the backend.
//
// Renegotiation was deprecated then removed from PostgreSQL 9.5, but
// the default configuration of older versions has it enabled. Redshift
// also initiates renegotiations and cannot be reconfigured.
tlsConf.Renegotiation = tls.RenegotiateFreelyAsClient
return func(conn net.Conn) (net.Conn, error) {
client := tls.Client(conn, &tlsConf)