terraform/vendor/github.com/lib/pq
James Bardin cfa299d2ee Update deps in unknown state and rever nomad
Nomad was manually updated, so revert that to the version in master,
remove it from vendor.json and add it to the ignore list.

Update all packages that were in an unknown state to their latest master
commits.
2017-01-19 20:10:17 -05:00
..
oid Vendor all dependencies w/ Godep 2016-01-29 15:08:48 -06:00
CONTRIBUTING.md Vendor all dependencies w/ Godep 2016-01-29 15:08:48 -06:00
LICENSE.md Vendor all dependencies w/ Godep 2016-01-29 15:08:48 -06:00
README.md Sync the vendor folder with the manifest 2017-01-19 14:10:52 -05:00
array.go Update deps in unknown state and rever nomad 2017-01-19 20:10:17 -05:00
buf.go Vendor all dependencies w/ Godep 2016-01-29 15:08:48 -06:00
conn.go Update deps in unknown state and rever nomad 2017-01-19 20:10:17 -05:00
copy.go Update deps in unknown state and rever nomad 2017-01-19 20:10:17 -05:00
doc.go Update deps in unknown state and rever nomad 2017-01-19 20:10:17 -05:00
encode.go Update deps in unknown state and rever nomad 2017-01-19 20:10:17 -05:00
error.go Vendor all dependencies w/ Godep 2016-01-29 15:08:48 -06:00
notify.go Update github.com/lib/pq to pull in Array support. 2016-12-25 06:13:33 -08:00
ssl.go Update deps in unknown state and rever nomad 2017-01-19 20:10:17 -05:00
ssl_go1.7.go Update deps in unknown state and rever nomad 2017-01-19 20:10:17 -05:00
ssl_permissions.go Update deps in unknown state and rever nomad 2017-01-19 20:10:17 -05:00
ssl_renegotiation.go Update deps in unknown state and rever nomad 2017-01-19 20:10:17 -05:00
ssl_windows.go Update deps in unknown state and rever nomad 2017-01-19 20:10:17 -05:00
url.go Update github.com/lib/pq to pull in Array support. 2016-12-25 06:13:33 -08:00
user_posix.go Update github.com/lib/pq to pull in Array support. 2016-12-25 06:13:33 -08:00
user_windows.go Vendor all dependencies w/ Godep 2016-01-29 15:08:48 -06:00
uuid.go Update deps in unknown state and rever nomad 2017-01-19 20:10:17 -05:00

README.md

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

Build Status

Install

go get github.com/lib/pq

Docs

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

Tests

go test is used for testing. A running PostgreSQL server is required, with the ability to log in. The default database to connect to test with is "pqgotest," but it can be overridden using environment variables.

Example:

PGHOST=/run/postgresql go test github.com/lib/pq

Optionally, a benchmark suite can be run as part of the tests:

PGHOST=/run/postgresql go test -bench .

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)