0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 09:24:07 -05:00
forgejo/vendor/github.com/lib/pq
6543 86e2789960
Vendor Update (#16121)
* update github.com/PuerkitoBio/goquery

* update github.com/alecthomas/chroma

* update github.com/blevesearch/bleve/v2

* update github.com/caddyserver/certmagic

* update github.com/go-enry/go-enry/v2

* update github.com/go-git/go-billy/v5

* update github.com/go-git/go-git/v5

* update github.com/go-redis/redis/v8

* update github.com/go-testfixtures/testfixtures/v3

* update github.com/jaytaylor/html2text

* update github.com/json-iterator/go

* update github.com/klauspost/compress

* update github.com/markbates/goth

* update github.com/mattn/go-isatty

* update github.com/mholt/archiver/v3

* update github.com/microcosm-cc/bluemonday

* update github.com/minio/minio-go/v7

* update github.com/prometheus/client_golang

* update github.com/unrolled/render

* update github.com/xanzy/go-gitlab

* update github.com/yuin/goldmark

* update github.com/yuin/goldmark-highlighting

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-06-10 16:44:25 +02:00
..
oid
scram
.gitignore
.travis.sh Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
.travis.yml Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
array.go [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
buf.go
conn.go [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
conn_go18.go [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
connector.go
copy.go
doc.go
encode.go Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
error.go
go.mod
krb.go
LICENSE.md
notice.go
notify.go
README.md
rows.go
ssl.go [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
ssl_permissions.go
ssl_windows.go
TESTS.md
url.go [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
user_other.go Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
user_posix.go
user_windows.go
uuid.go

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 effectively in maintenance mode and is not actively developed. Small patches and features are only rarely reviewed and merged. We recommend using pgx which is actively maintained.