• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..27-Nov-2021-

oid/H27-Nov-2021-351341

scram/H27-Nov-2021-265182

.gitignoreH A D27-Nov-202133 66

LICENSE.mdH A D27-Nov-20211.1 KiB95

README.mdH A D27-Nov-20211.2 KiB3726

TESTS.mdH A D27-Nov-2021658 3421

array.goH A D27-Nov-202120.2 KiB896705

buf.goH A D27-Nov-20211.6 KiB9273

conn.goH A D27-Nov-202148 KiB2,0611,708

conn_go18.goH A D27-Nov-20215.6 KiB248194

connector.goH A D27-Nov-20213.4 KiB11665

copy.goH A D27-Nov-20216.2 KiB304242

doc.goH A D27-Nov-20219.4 KiB2691

encode.goH A D27-Nov-202116.2 KiB629480

error.goH A D27-Nov-202115.4 KiB519425

krb.goH A D27-Nov-2021815 2811

notice.goH A D27-Nov-20212.5 KiB7335

notify.goH A D27-Nov-202125 KiB859497

rows.goH A D27-Nov-20212.4 KiB9469

ssl.goH A D27-Nov-20215.8 KiB194132

ssl_permissions.goH A D27-Nov-2021448 2212

ssl_windows.goH A D27-Nov-2021286 112

url.goH A D27-Nov-20211.6 KiB7745

user_other.goH A D27-Nov-2021234 114

user_posix.goH A D27-Nov-2021579 2616

user_windows.goH A D27-Nov-2021871 2816

uuid.goH A D27-Nov-2021555 2418

README.md

1# pq - A pure Go postgres driver for Go's database/sql package
2
3[![GoDoc](https://godoc.org/github.com/lib/pq?status.svg)](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.
37