You've already forked postgres_exporter
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:
committed by
Will Rouesnel
parent
b33c2f9349
commit
69a90e8a33
2
vendor/github.com/lib/pq/buf.go
generated
vendored
2
vendor/github.com/lib/pq/buf.go
generated
vendored
@@ -66,7 +66,7 @@ func (b *writeBuf) int16(n int) {
|
||||
}
|
||||
|
||||
func (b *writeBuf) string(s string) {
|
||||
b.buf = append(b.buf, (s + "\000")...)
|
||||
b.buf = append(append(b.buf, s...), '\000')
|
||||
}
|
||||
|
||||
func (b *writeBuf) byte(c byte) {
|
||||
|
||||
Reference in New Issue
Block a user