Announcing go-pgsql, a PostgreSQL client library for Go

150 views
Skip to first unread message

Alexander Neumann

unread,
Sep 16, 2010, 11:45:18 AM9/16/10
to golang-nuts
Hi,

Back in the summer I started to write a pure PostgreSQL client library
for Go.

You can find it here:
http://github.com/lxn/go-pgsql

It is missing a few features, but what is there seems to work quite
well. I use it in a production web service running on a Linux box
where it is doing its job since a few weeks without trouble. It is
also doing fine on Windows, no idea about Mac though.

If you are working with PostgreSQL and Go, you may want to give it a
try.

Cheers
Alex

André Moraes

unread,
Sep 17, 2010, 1:12:41 PM9/17/10
to golang-nuts
Hi,

Very nice initiative, is much better to have native libraries than using binding to C.

In Go i don't see any standard Db inteface, something like JDBC ou python db-api. Just a set of small interfaces that can make working with different datasources more easy.

Again, congratulations for the initiative, PostgreSQL is a very good RDBMS and this library will help even more the adoption of Go.

--
André Moraes
http://andredevchannel.blogspot.com/

Francisco Diaz Trepat - gmail

unread,
Nov 8, 2010, 8:59:17 AM11/8/10
to Alexander Neumann, golang-nuts
Hi Neumann, thanks.

Is there any examples on inserts or something like that?

I need to run about 1500 inserts, can I do something like prepare a cmd statement and then change parameter values to insert different records?

f(t)
Reply all
Reply to author
Forward
0 new messages