1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-11-26 22:23:31 +03:00

Updated lib/pg driver to 1.2.0 in order to support stronger SCRAM-SHA-256 authentication. This drops support for Go < 1.11 and PostgreSQL < 9.4. (#304)

This commit is contained in:
Johan Karlberg
2019-10-30 04:56:38 +01:00
committed by Will Rouesnel
parent b33c2f9349
commit 69a90e8a33
17 changed files with 727 additions and 211 deletions

2
vendor/github.com/lib/pq/copy.go generated vendored
View File

@@ -229,7 +229,7 @@ func (ci *copyin) Exec(v []driver.Value) (r driver.Result, err error) {
}
if len(v) == 0 {
return nil, ci.Close()
return driver.RowsAffected(0), ci.Close()
}
numValues := len(v)