Go编程语言的PostgreSQL驱动程序

huangapple go评论85阅读模式
英文:

PostgreSQL driver for Go programming language

问题

http://go-lang.cat-v.org/pure-go-libs列出了两个PosgreSQL驱动程序,但它们已经好几个月没有更新了,看起来像是一个人的作品。所以我想知道它们是否可靠/适用于生产环境,或者是否有其他推荐的驱动程序。

您会在生产环境中使用哪个驱动程序来与PostgreSQL一起使用?

英文:

http://go-lang.cat-v.org/pure-go-libs lists two PosgreSQL drivers, but they haven't been updated since months and looking like one man shows. So I wonder if they are reliable / ready for production or if there are other recommended drivers.

Would you use Go with PostgreSQL for production and with what driver?

答案1

得分: 11

在这个问题被提出的一年半以来,pq已经显著成熟,并且得到了积极的维护(最近一周有多人提交了多个提交,过去几个月每周都有更新)。

文档在这里:http://godoc.org/github.com/lib/pq

英文:

In the year and a half since this question was asked, pq has matured significantly and is actively maintained (multiple commits by multiple people in the last week, consistent weekly updates for the last several months).

Docs are here: http://godoc.org/github.com/lib/pq

答案2

得分: 4

A list of SQL DB drivers can be found here

英文:

A list of SQL DB drivers can be found here

答案3

得分: 2

在这个基础上,我可能不会在生产环境中选择它...

最新的似乎是https://github.com/jbarham/gopgsqldriver

但开源的一个优点是你拥有所有的源代码,所以你可以自己维护它,贡献补丁,甚至接管维护者的角色。

英文:

On this basis I probably wouldn't go for it in production...

The newest one seems to be https://github.com/jbarham/gopgsqldriver

But one of the advantages of open source is that you have all the source so you can maintain it yourself, contribute patches or even take over the maintainer's role.

huangapple
  • 本文由 发表于 2012年7月25日 15:41:47
  • 转载请务必保留本文链接:https://go.coder-hub.com/11644914.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定