Unknwon 2fd69f13d9 vendor: check in vendors | 7 jaren geleden | |
---|---|---|
.. | ||
oid | 7 jaren geleden | |
CONTRIBUTING.md | 7 jaren geleden | |
LICENSE.md | 7 jaren geleden | |
README.md | 7 jaren geleden | |
array.go | 7 jaren geleden | |
buf.go | 7 jaren geleden | |
conn.go | 7 jaren geleden | |
copy.go | 7 jaren geleden | |
doc.go | 7 jaren geleden | |
encode.go | 7 jaren geleden | |
error.go | 7 jaren geleden | |
notify.go | 7 jaren geleden | |
url.go | 7 jaren geleden | |
user_posix.go | 7 jaren geleden | |
user_windows.go | 7 jaren geleden |
go get github.com/lib/pq
For detailed documentation and basic usage examples, please see the package documentation at http://godoc.org/github.com/lib/pq.
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 .
database/sql
time.Time
correctly (i.e. timestamp[tz]
, time[tz]
, date
)bytea
)hstore
supportLISTEN
/NOTIFY
Some of these contributors are from the original library bmizerany/pq.go
whose
code still exists in here.