You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
979 B

  1. # pq - A pure Go postgres driver for Go's database/sql package
  2. [![GoDoc](https://godoc.org/github.com/lib/pq?status.svg)](https://pkg.go.dev/github.com/lib/pq?tab=doc)
  3. ## Install
  4. go get github.com/lib/pq
  5. ## Features
  6. * SSL
  7. * Handles bad connections for `database/sql`
  8. * Scan `time.Time` correctly (i.e. `timestamp[tz]`, `time[tz]`, `date`)
  9. * Scan binary blobs correctly (i.e. `bytea`)
  10. * Package for `hstore` support
  11. * COPY FROM support
  12. * pq.ParseURL for converting urls to connection strings for sql.Open.
  13. * Many libpq compatible environment variables
  14. * Unix socket support
  15. * Notifications: `LISTEN`/`NOTIFY`
  16. * pgpass support
  17. * GSS (Kerberos) auth
  18. ## Tests
  19. `go test` is used for testing. See [TESTS.md](TESTS.md) for more details.
  20. ## Status
  21. This package is effectively in maintenance mode and is not actively developed. Small patches and features are only rarely reviewed and merged. We recommend using [pgx](https://github.com/jackc/pgx) which is actively maintained.