pq - database/sql的纯Go Postgres 驱动程序

网友投稿 931 2022-10-18

pq - database/sql的纯Go Postgres 驱动程序

pq - database/sql的纯Go Postgres 驱动程序

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

Install

go get github.com/lib/pq

Features

SSLHandles bad connections for database/sqlScan time.Time correctly (i.e. timestamp[tz], time[tz], date)Scan binary blobs correctly (i.e. bytea)Package for hstore supportCOPY FROM supportpq.ParseURL for converting urls to connection strings for sql.Open.Many libpq compatible environment variablesUnix socket supportNotifications: LISTEN/NOTIFYpgpass support

Optional Features

GSS (Kerberos) auth (to use, see GoDoc)

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.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Kubernetes 深入理解kubernetes(一)
下一篇:Kubernetes 架构核心组件工作原理解析
相关文章

 发表评论

暂时没有评论,来抢沙发吧~