status-go/vendor/github.com/lib/pq
RichΛrd 0babdad17b
chore: upgrade go-waku to v0.5 (#3213)
* chore: upgrade go-waku to v0.5
* chore: add println and logs to check what's being stored in the enr, and preemptively delete the multiaddr field (#3219)
* feat: add wakuv2 test (#3218)
2023-02-22 17:58:17 -04:00
..
oid Update for status-protocol-go API changes (#1627) 2019-10-09 16:22:53 +02:00
scram Upgrade deps (#1892) 2020-03-09 08:55:58 +01:00
.gitignore Upgrade pq library 2021-01-27 09:23:11 +01:00
LICENSE.md Add postgres 2019-05-15 11:01:34 +02:00
README.md chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
TESTS.md migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
array.go chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
buf.go Upgrade geth to 1.9.5 and Whisper (#1617) 2019-10-04 17:21:24 +02:00
conn.go chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
conn_go18.go chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
connector.go Upgrade pq library 2021-01-27 09:23:11 +01:00
copy.go chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
doc.go Upgrade pq library 2021-01-27 09:23:11 +01:00
encode.go chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
error.go chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
krb.go Upgrade pq library 2021-01-27 09:23:11 +01:00
notice.go chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
notify.go Upgrade pq library 2021-01-27 09:23:11 +01:00
rows.go Add postgres 2019-05-15 11:01:34 +02:00
ssl.go chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
ssl_permissions.go chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
ssl_windows.go chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
url.go feat: wakuv2 store (#2780) 2022-08-19 12:34:07 -04:00
user_other.go chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
user_posix.go chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
user_windows.go Add postgres 2019-05-15 11:01:34 +02:00
uuid.go Add postgres 2019-05-15 11:01:34 +02:00

README.md

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

GoDoc

Install

go get github.com/lib/pq

Features

  • SSL
  • Handles bad connections for database/sql
  • Scan time.Time correctly (i.e. timestamp[tz], time[tz], date)
  • Scan binary blobs correctly (i.e. bytea)
  • Package for hstore support
  • COPY FROM support
  • pq.ParseURL for converting urls to connection strings for sql.Open.
  • Many libpq compatible environment variables
  • Unix socket support
  • Notifications: LISTEN/NOTIFY
  • pgpass support
  • GSS (Kerberos) auth

Tests

go test is used for testing. See TESTS.md for more details.

Status

This package is currently in maintenance mode, which means:

  1. It generally does not accept new features.
  2. It does accept bug fixes and version compatability changes provided by the community.
  3. Maintainers usually do not resolve reported issues.
  4. Community members are encouraged to help each other with reported issues.

For users that require new features or reliable resolution of reported bugs, we recommend using pgx which is under active development.