grafana/vendor/github.com/lib/pq
Arve Knudsen 39d8e73412
Chore: Upgrade to Go 1.13 (#19502)
* Chore: Upgrade to Go 1.13

Fixes: #18878

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Chore: Upgrade lint tools in order to work with Go 1.13

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Chore: Fix Go linting issues

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2019-10-02 13:59:05 +02:00
..
oid Chore: Upgrade to Go 1.13 (#19502) 2019-10-02 13:59:05 +02:00
scram Postgres: Add support for scram sha 256 authentication (#18397) 2019-08-06 10:01:28 +02:00
.gitignore replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
.travis.sh Postgres: Add support for scram sha 256 authentication (#18397) 2019-08-06 10:01:28 +02:00
array.go Postgres Data Source (#9475) 2017-10-10 15:19:14 +02:00
buf.go Postgres: Add support for scram sha 256 authentication (#18397) 2019-08-06 10:01:28 +02:00
conn_go18.go Postgres: Add support for scram sha 256 authentication (#18397) 2019-08-06 10:01:28 +02:00
conn.go Postgres: Add support for scram sha 256 authentication (#18397) 2019-08-06 10:01:28 +02:00
connector.go Postgres: Add support for scram sha 256 authentication (#18397) 2019-08-06 10:01:28 +02:00
CONTRIBUTING.md replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
copy.go fix: MySQL/Postgress max_idle_conn default was wrongly set to zero, which does not mean unlimited but zero, which in practice disables connection pooling, not good. now max idle conn is set to golang's default which is 2, fixes #8513 2017-08-08 16:17:52 +02:00
doc.go Postgres: Add support for scram sha 256 authentication (#18397) 2019-08-06 10:01:28 +02:00
encode.go Postgres: Add support for scram sha 256 authentication (#18397) 2019-08-06 10:01:28 +02:00
error.go Postgres: Add support for scram sha 256 authentication (#18397) 2019-08-06 10:01:28 +02:00
go.mod replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
LICENSE.md tech(build): move dependencies to vendor folder 2016-09-14 16:14:27 +02:00
notify.go replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
README.md Postgres: Add support for scram sha 256 authentication (#18397) 2019-08-06 10:01:28 +02:00
rows.go Postgres Data Source (#9475) 2017-10-10 15:19:14 +02:00
ssl_permissions.go fix: MySQL/Postgress max_idle_conn default was wrongly set to zero, which does not mean unlimited but zero, which in practice disables connection pooling, not good. now max idle conn is set to golang's default which is 2, fixes #8513 2017-08-08 16:17:52 +02:00
ssl_windows.go fix: MySQL/Postgress max_idle_conn default was wrongly set to zero, which does not mean unlimited but zero, which in practice disables connection pooling, not good. now max idle conn is set to golang's default which is 2, fixes #8513 2017-08-08 16:17:52 +02:00
ssl.go Postgres: Add support for scram sha 256 authentication (#18397) 2019-08-06 10:01:28 +02:00
TESTS.md replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
url.go fix: MySQL/Postgress max_idle_conn default was wrongly set to zero, which does not mean unlimited but zero, which in practice disables connection pooling, not good. now max idle conn is set to golang's default which is 2, fixes #8513 2017-08-08 16:17:52 +02:00
user_posix.go fix: MySQL/Postgress max_idle_conn default was wrongly set to zero, which does not mean unlimited but zero, which in practice disables connection pooling, not good. now max idle conn is set to golang's default which is 2, fixes #8513 2017-08-08 16:17:52 +02:00
user_windows.go tech(build): move dependencies to vendor folder 2016-09-14 16:14:27 +02:00
uuid.go fix: MySQL/Postgress max_idle_conn default was wrongly set to zero, which does not mean unlimited but zero, which in practice disables connection pooling, not good. now max idle conn is set to golang's default which is 2, fixes #8513 2017-08-08 16:17:52 +02:00

pq - A pure Go postgres driver for Go's database/sql package

GoDoc Build Status

Install

go get github.com/lib/pq

Docs

For detailed documentation and basic usage examples, please see the package documentation at https://godoc.org/github.com/lib/pq.

Tests

go test is used for testing. See TESTS.md for more details.

Features

  • SSL
  • Handles bad connections for database/sql
  • Scan time.Time correctly (i.e. timestamp[tz], time[tz], date)
  • Scan binary blobs correctly (i.e. bytea)
  • Package for hstore support
  • COPY FROM support
  • pq.ParseURL for converting urls to connection strings for sql.Open.
  • Many libpq compatible environment variables
  • Unix socket support
  • Notifications: LISTEN/NOTIFY
  • pgpass support

Future / Things you can help with

  • Better COPY FROM / COPY TO (see discussion in #181)

Thank you (alphabetical)

Some of these contributors are from the original library bmizerany/pq.go whose code still exists in here.

  • Andy Balholm (andybalholm)
  • Ben Berkert (benburkert)
  • Benjamin Heatwole (bheatwole)
  • Bill Mill (llimllib)
  • Bjørn Madsen (aeons)
  • Blake Gentry (bgentry)
  • Brad Fitzpatrick (bradfitz)
  • Charlie Melbye (cmelbye)
  • Chris Bandy (cbandy)
  • Chris Gilling (cgilling)
  • Chris Walsh (cwds)
  • Dan Sosedoff (sosedoff)
  • Daniel Farina (fdr)
  • Eric Chlebek (echlebek)
  • Eric Garrido (minusnine)
  • Eric Urban (hydrogen18)
  • Everyone at The Go Team
  • Evan Shaw (edsrzf)
  • Ewan Chou (coocood)
  • Fazal Majid (fazalmajid)
  • Federico Romero (federomero)
  • Fumin (fumin)
  • Gary Burd (garyburd)
  • Heroku (heroku)
  • James Pozdena (jpoz)
  • Jason McVetta (jmcvetta)
  • Jeremy Jay (pbnjay)
  • Joakim Sernbrant (serbaut)
  • John Gallagher (jgallagher)
  • Jonathan Rudenberg (titanous)
  • Joël Stemmer (jstemmer)
  • Kamil Kisiel (kisielk)
  • Kelly Dunn (kellydunn)
  • Keith Rarick (kr)
  • Kir Shatrov (kirs)
  • Lann Martin (lann)
  • Maciek Sakrejda (uhoh-itsmaciek)
  • Marc Brinkmann (mbr)
  • Marko Tiikkaja (johto)
  • Matt Newberry (MattNewberry)
  • Matt Robenolt (mattrobenolt)
  • Martin Olsen (martinolsen)
  • Mike Lewis (mikelikespie)
  • Nicolas Patry (Narsil)
  • Oliver Tonnhofer (olt)
  • Patrick Hayes (phayes)
  • Paul Hammond (paulhammond)
  • Ryan Smith (ryandotsmith)
  • Samuel Stauffer (samuel)
  • Timothée Peignier (cyberdelia)
  • Travis Cline (tmc)
  • TruongSinh Tran-Nguyen (truongsinh)
  • Yaismel Miranda (ympons)
  • notedit (notedit)