...
1# pq - A pure Go postgres driver for Go's database/sql package
2
3[](https://pkg.go.dev/github.com/lib/pq?tab=doc)
4
5## Install
6
7 go get github.com/lib/pq
8
9## Features
10
11* SSL
12* Handles bad connections for `database/sql`
13* Scan `time.Time` correctly (i.e. `timestamp[tz]`, `time[tz]`, `date`)
14* Scan binary blobs correctly (i.e. `bytea`)
15* Package for `hstore` support
16* COPY FROM support
17* pq.ParseURL for converting urls to connection strings for sql.Open.
18* Many libpq compatible environment variables
19* Unix socket support
20* Notifications: `LISTEN`/`NOTIFY`
21* pgpass support
22* GSS (Kerberos) auth
23
24## Tests
25
26`go test` is used for testing. See [TESTS.md](TESTS.md) for more details.
27
28## Status
29
30This package is currently in maintenance mode, which means:
311. It generally does not accept new features.
322. It does accept bug fixes and version compatability changes provided by the community.
333. Maintainers usually do not resolve reported issues.
344. Community members are encouraged to help each other with reported issues.
35
36For users that require new features or reliable resolution of reported bugs, we recommend using [pgx](https://github.com/jackc/pgx) which is under active development.
View as plain text