1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 13:49:13 -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 use go 1.13 (#8088) 2019-09-12 14:58:32 +03:00
scram pq -> v1.7.0 (#11905) 2020-06-16 19:57:38 +08:00
.gitignore Vendor Update (#14496) 2021-01-28 17:56:38 +01:00
.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 Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
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 Switch to absolute latest pq driver (#12859) 2020-09-18 17:38:46 +03:00
copy.go Vendor Update (#14496) 2021-01-28 17:56:38 +01:00
doc.go Switch to absolute latest pq driver (#12859) 2020-09-18 17:38:46 +03:00
encode.go Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
error.go Vendor Update (#14496) 2021-01-28 17:56:38 +01:00
go.mod pq -> v1.7.0 (#11905) 2020-06-16 19:57:38 +08:00
krb.go pq -> v1.7.0 (#11905) 2020-06-16 19:57:38 +08:00
LICENSE.md
notice.go pq -> v1.7.0 (#11905) 2020-06-16 19:57:38 +08:00
notify.go pq -> v1.7.0 (#11905) 2020-06-16 19:57:38 +08:00
README.md Switch to absolute latest pq driver (#12859) 2020-09-18 17:38:46 +03:00
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 pq -> v1.7.0 (#11905) 2020-06-16 19:57:38 +08:00
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.