Last change
on this file since 822 was 822, checked in by yakumo.izuru, 22 months ago |
Prefer immortal.run over runit and rc.d, use vendored modules
for convenience.
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
1.2 KB
|
Rev | Line | |
---|
[822] | 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 |
|
---|
| 30 | This package is currently in maintenance mode, which means:
|
---|
| 31 | 1. It generally does not accept new features.
|
---|
| 32 | 2. It does accept bug fixes and version compatability changes provided by the community.
|
---|
| 33 | 3. Maintainers usually do not resolve reported issues.
|
---|
| 34 | 4. Community members are encouraged to help each other with reported issues.
|
---|
| 35 |
|
---|
| 36 | For 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.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.