Clever/pq

Name: pq

Owner: Clever

Description: Pure Go Postgres driver for database/sql

Forked from: lib/pq

Created: 2017-05-02 18:30:45.0

Updated: 2017-05-02 18:30:47.0

Pushed: 2017-05-02 20:57:27.0

Homepage: http://godoc.org/github.com/lib/pq

Size: 774

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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

Build Status

Install
go get github.com/lib/pq
Docs

For detailed documentation and basic usage examples, please see the package documentation at http://godoc.org/github.com/lib/pq.

Tests

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 .
Features
Future / Things you can help with
Thank you (alphabetical)

Some of these contributors are from the original library bmizerany/pq.go whose code still exists in here.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.