peridot/vendor/github.com/lib/pq
2022-07-07 22:13:21 +02:00
..
oid Initial commit 2022-07-07 22:13:21 +02:00
scram Initial commit 2022-07-07 22:13:21 +02:00
.gitignore Initial commit 2022-07-07 22:13:21 +02:00
.travis.sh Initial commit 2022-07-07 22:13:21 +02:00
.travis.yml Initial commit 2022-07-07 22:13:21 +02:00
array.go Initial commit 2022-07-07 22:13:21 +02:00
buf.go Initial commit 2022-07-07 22:13:21 +02:00
BUILD.bazel Initial commit 2022-07-07 22:13:21 +02:00
conn_go18.go Initial commit 2022-07-07 22:13:21 +02:00
conn.go Initial commit 2022-07-07 22:13:21 +02:00
connector.go Initial commit 2022-07-07 22:13:21 +02:00
copy.go Initial commit 2022-07-07 22:13:21 +02:00
doc.go Initial commit 2022-07-07 22:13:21 +02:00
encode.go Initial commit 2022-07-07 22:13:21 +02:00
error.go Initial commit 2022-07-07 22:13:21 +02:00
go.mod Initial commit 2022-07-07 22:13:21 +02:00
krb.go Initial commit 2022-07-07 22:13:21 +02:00
LICENSE.md Initial commit 2022-07-07 22:13:21 +02:00
notice.go Initial commit 2022-07-07 22:13:21 +02:00
notify.go Initial commit 2022-07-07 22:13:21 +02:00
README.md Initial commit 2022-07-07 22:13:21 +02:00
rows.go Initial commit 2022-07-07 22:13:21 +02:00
ssl_permissions.go Initial commit 2022-07-07 22:13:21 +02:00
ssl_windows.go Initial commit 2022-07-07 22:13:21 +02:00
ssl.go Initial commit 2022-07-07 22:13:21 +02:00
TESTS.md Initial commit 2022-07-07 22:13:21 +02:00
url.go Initial commit 2022-07-07 22:13:21 +02:00
user_other.go Initial commit 2022-07-07 22:13:21 +02:00
user_posix.go Initial commit 2022-07-07 22:13:21 +02:00
user_windows.go Initial commit 2022-07-07 22:13:21 +02:00
uuid.go Initial commit 2022-07-07 22:13:21 +02:00

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

GoDoc

Install

go get github.com/lib/pq

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
  • GSS (Kerberos) auth

Tests

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

Status

This package is effectively in maintenance mode and is not actively developed. Small patches and features are only rarely reviewed and merged. We recommend using pgx which is actively maintained.