Antoine GIRARD 2112eb8741 | 7 years ago | |
---|---|---|
.. | ||
oid | 7 years ago | |
CONTRIBUTING.md | 8 years ago | |
LICENSE.md | 8 years ago | |
README.md | 7 years ago | |
array.go | 7 years ago | |
buf.go | 8 years ago | |
conn.go | 7 years ago | |
conn_go18.go | 7 years ago | |
copy.go | 7 years ago | |
doc.go | 8 years ago | |
encode.go | 7 years ago | |
error.go | 8 years ago | |
notify.go | 7 years ago | |
rows.go | 7 years ago | |
ssl.go | 7 years ago | |
ssl_go1.7.go | 7 years ago | |
ssl_permissions.go | 7 years ago | |
ssl_renegotiation.go | 7 years ago | |
ssl_windows.go | 7 years ago | |
url.go | 8 years ago | |
user_posix.go | 8 years ago | |
user_windows.go | 8 years ago | |
uuid.go | 7 years ago |
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.