Skip to content

Commit

Permalink
Upgrade pq to fix connection failure cleanup bug (v1.8.0 => v1.10.3) (#…
Browse files Browse the repository at this point in the history
…12413) (#12728)

* Upgrade pq to fix connection failure cleanup bug (v1.8.0 => v1.10.3)

* Run go mod tidy after `go get -u github.com/lib/pq`

* include changelog/12413.txt
# Conflicts:
#	go.mod
#	go.sum

Co-authored-by: Ian Ferguson <ian.ferguson@datadoghq.com>
  • Loading branch information
calvn and ianferguson committed Oct 4, 2021
1 parent f0d5e3a commit a58416b
Show file tree
Hide file tree
Showing 21 changed files with 413 additions and 190 deletions.
4 changes: 4 additions & 0 deletions changelog/12413.txt
@@ -0,0 +1,4 @@
```release-note:bug
storage/postgres: Update postgres library (github.com/lib/pq) to properly remove terminated TLS connections from the connection pool.
database/postgres: Update postgres library (github.com/lib/pq) to properly remove terminated TLS connections from the connection pool.
```
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -104,7 +104,7 @@ require (
github.com/keybase/go-crypto v0.0.0-20190403132359-d65b6b94177f
github.com/kr/pretty v0.2.1
github.com/kr/text v0.2.0
github.com/lib/pq v1.8.0
github.com/lib/pq v1.10.3
github.com/mattn/go-colorable v0.1.6
github.com/mholt/archiver v3.1.1+incompatible
github.com/michaelklishin/rabbit-hole v0.0.0-20191008194146-93d9988f0cd5
Expand Down
3 changes: 2 additions & 1 deletion go.sum
Expand Up @@ -763,8 +763,9 @@ github.com/lestrrat-go/jwx v0.9.0/go.mod h1:iEoxlYfZjvoGpuWwxUz+eR5e6KTJGsaRcy/Y
github.com/lib/pq v0.0.0-20180327071824-d34b9ff171c2/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.1.1/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.8.0 h1:9xohqzkUwzR4Ga4ivdTcawVS89YSDVxXMa3xJX3cGzg=
github.com/lib/pq v1.8.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lib/pq v1.10.3 h1:v9QZf2Sn6AmjXtQeFpdoq/eaNtYP6IN+7lcrygsIAtg=
github.com/lib/pq v1.10.3/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM=
github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4=
github.com/linode/linodego v0.7.1 h1:4WZmMpSA2NRwlPZcc0+4Gyn7rr99Evk9bnr0B3gXRKE=
Expand Down
2 changes: 2 additions & 0 deletions vendor/github.com/lib/pq/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 0 additions & 73 deletions vendor/github.com/lib/pq/.travis.sh

This file was deleted.

44 changes: 0 additions & 44 deletions vendor/github.com/lib/pq/.travis.yml

This file was deleted.

8 changes: 7 additions & 1 deletion vendor/github.com/lib/pq/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

141 changes: 140 additions & 1 deletion vendor/github.com/lib/pq/array.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a58416b

Please sign in to comment.