open-vault/vendor/github.com/lib/pq
Jeff Mitchell 6ddac3ad33 Bump api/sdk dep 2019-06-18 11:19:15 -04:00
..
oid Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
scram Bump api/sdk dep 2019-06-18 11:19:15 -04:00
.gitignore Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
.travis.sh Bump api/sdk dep 2019-06-18 11:19:15 -04:00
.travis.yml Bump api/sdk dep 2019-06-18 11:19:15 -04:00
CONTRIBUTING.md Migrate to built-in Go vendoring. 2016-02-18 15:06:02 -05:00
LICENSE.md Migrate to built-in Go vendoring. 2016-02-18 15:06:02 -05:00
README.md Bump api/sdk dep 2019-06-18 11:19:15 -04:00
TESTS.md Bump Deps (#4868) 2018-07-06 12:09:34 -04:00
array.go Bump deps 2017-09-05 18:06:47 -04:00
buf.go Migrate to built-in Go vendoring. 2016-02-18 15:06:02 -05:00
conn.go Bump api/sdk dep 2019-06-18 11:19:15 -04:00
conn_go18.go Bump api/sdk dep 2019-06-18 11:19:15 -04:00
connector.go Bump api/sdk dep 2019-06-18 11:19:15 -04:00
copy.go Update deps 2017-01-26 20:16:19 -05:00
doc.go Bump api/sdk dep 2019-06-18 11:19:15 -04:00
encode.go Bump api/sdk dep 2019-06-18 11:19:15 -04:00
error.go Bump Deps (#4868) 2018-07-06 12:09:34 -04:00
go.mod Update Deps (#5454) 2018-10-03 09:55:26 -07:00
notify.go Update Deps (#5454) 2018-10-03 09:55:26 -07:00
rows.go Bump deps 2017-10-27 15:06:04 -04:00
ssl.go Bump api/sdk dep 2019-06-18 11:19:15 -04:00
ssl_permissions.go Bump deps 2017-03-30 20:03:13 -04:00
ssl_windows.go Bump deps 2017-03-30 20:03:13 -04:00
url.go Migrate to built-in Go vendoring. 2016-02-18 15:06:02 -05:00
user_posix.go Bump deps. 2016-05-02 20:11:05 -04:00
user_windows.go Migrate to built-in Go vendoring. 2016-02-18 15:06:02 -05:00
uuid.go Bump deps 2017-01-04 16:47:38 -05:00

README.md

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)