1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00
documize/vendor/github.com/lib/pq
2021-08-19 13:02:56 -04:00
..
oid Moved from Dep to Go Modules 2019-09-06 11:06:28 +01:00
scram Database and LDAP upgrades 2020-05-21 12:32:46 +01:00
.gitignore Sync with Community 2021-08-19 13:02:56 -04:00
.travis.sh Sync with Community 2021-08-19 13:02:56 -04:00
.travis.yml Sync with Community 2021-08-19 13:02:56 -04:00
array.go Sync with Community 2021-08-19 13:02:56 -04:00
buf.go Bumped database driver dependencies 2019-08-15 14:51:40 +01:00
conn.go Sync with Community 2021-08-19 13:02:56 -04:00
conn_go18.go Sync with Community 2021-08-19 13:02:56 -04:00
connector.go Sync with Community 2021-08-19 13:02:56 -04:00
copy.go Sync with Community 2021-08-19 13:02:56 -04:00
doc.go Sync with Community 2021-08-19 13:02:56 -04:00
encode.go Sync with Community 2021-08-19 13:02:56 -04:00
error.go Sync with Community 2021-08-19 13:02:56 -04:00
krb.go Sync with Community 2021-08-19 13:02:56 -04:00
LICENSE.md PostgreSQL prep 2018-09-26 17:59:56 +01:00
notice.go Database and LDAP upgrades 2020-05-21 12:32:46 +01:00
notify.go Database and LDAP upgrades 2020-05-21 12:32:46 +01:00
README.md Sync with Community 2021-08-19 13:02:56 -04:00
rows.go PostgreSQL prep 2018-09-26 17:59:56 +01:00
ssl.go Sync with Community 2021-08-19 13:02:56 -04:00
ssl_permissions.go PostgreSQL prep 2018-09-26 17:59:56 +01:00
ssl_windows.go PostgreSQL prep 2018-09-26 17:59:56 +01:00
TESTS.md PostgreSQL prep 2018-09-26 17:59:56 +01:00
url.go Sync with Community 2021-08-19 13:02:56 -04:00
user_other.go Sync with Community 2021-08-19 13:02:56 -04:00
user_posix.go Database and LDAP upgrades 2020-05-21 12:32:46 +01:00
user_windows.go PostgreSQL prep 2018-09-26 17:59:56 +01:00
uuid.go PostgreSQL prep 2018-09-26 17:59:56 +01: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.