lib / pq

Pure Go Postgres driver for database/sql
https://pkg.go.dev/github.com/lib/pq
MIT License
9.01k stars 910 forks source link

Can't build lib/pq #919

Closed muhlemmer closed 4 years ago

muhlemmer commented 4 years ago

In my CI I noticed build failures on lib/pq. Running go get -u github.com/lib/pq locally reproduces the error.

# github.com/lib/pq
go/src/github.com/lib/pq/conn_go18.go:213:21: not enough arguments in call to st.cn.cancel
        have ()
        want (context.Context)

https://github.com/lib/pq/blob/a2bfbdffa369322882bd4f55f284d10da8023b85/conn_go18.go#L213

It was introduced in today merge of #768

muhlemmer commented 4 years ago

917 raced me to it, closing