vikunja-api/vendor/github.com/lib/pq
jtojnar ce5be947b4 Add postgres support (#135)
Revert fixture fixes for postgres

Use postgres connection string with spaces instead of url

Fix label order

Make postgres tests in ci less verbose

Add sequence update script

Skip resets in postgres

Remove option to skip resets in postgres

Make postgres tests in ci verboseq

Update test fixtures database

Fix file tests on postgres

Add postgres options to sample config

Make sure tests init test fixtures before running the actual tests

Fix issues with IDs too big to fit in an int

Fix duplicate auto incremented IDs

Refactor / Fix team tests

Refactor team member tests

Fix team member create

Fix label test

Fix getting labels

Fix test fixtures for postgresql

Fix connection string params

Disable ssl mode on postgres integration tests

Disable ssl mode on postgres tests

Use sprintf to create the connection string for postgresql

fixup! Add postgres support

Add postgres support

Added generate as a make dependency for make build

Clarify docs on building

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/135
2020-02-16 21:42:04 +00:00
..
oid Add postgres support (#135) 2020-02-16 21:42:04 +00:00
scram Add postgres support (#135) 2020-02-16 21:42:04 +00:00
.gitignore Add postgres support (#135) 2020-02-16 21:42:04 +00:00
.travis.sh Add postgres support (#135) 2020-02-16 21:42:04 +00:00
.travis.yml Add postgres support (#135) 2020-02-16 21:42:04 +00:00
array.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
buf.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
conn.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
conn_go18.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
connector.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
CONTRIBUTING.md Add postgres support (#135) 2020-02-16 21:42:04 +00:00
copy.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
doc.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
encode.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
error.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
go.mod Add postgres support (#135) 2020-02-16 21:42:04 +00:00
LICENSE.md Add postgres support (#135) 2020-02-16 21:42:04 +00:00
notify.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
README.md Add postgres support (#135) 2020-02-16 21:42:04 +00:00
rows.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
ssl.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
ssl_permissions.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
ssl_windows.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
TESTS.md Add postgres support (#135) 2020-02-16 21:42:04 +00:00
url.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
user_posix.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
user_windows.go Add postgres support (#135) 2020-02-16 21:42:04 +00:00
uuid.go Add postgres support (#135) 2020-02-16 21:42:04 +00: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)