woodpecker/vendor/github.com/lib/pq
6543 75513575be
Use go's vendoring (#284)
* store dependency's in git

* since we vendor ... rm tech-depts

* aad make target 'vendor' to update vendor folder (manual task)
2021-08-30 19:14:04 +02:00
..
oid Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
scram Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
.gitignore Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
.travis.sh Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
.travis.yml Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
array.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
buf.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
conn.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
conn_go18.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
connector.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
copy.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
doc.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
encode.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
error.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
go.mod Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
LICENSE.md Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
notice.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
notify.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
README.md Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
rows.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
ssl.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
ssl_permissions.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
ssl_windows.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
TESTS.md Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
url.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
user_posix.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
user_windows.go Use go's vendoring (#284) 2021-08-30 19:14:04 +02:00
uuid.go Use go's vendoring (#284) 2021-08-30 19:14:04 +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

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.