pgsql.go
pgsql.go copied to clipboard
PostgreSQL high-level client library wrapper for Go
It would be nice to have functions that return ncols and nrows. I would be happy to do that. I also have it working for go 1.1 do you want...
I succeeded in installing and working just fine on 8g version but when I upgraded to Go 1.0 installing won't work! :-( teo@teo:~/go/src/pkg$ go get github.com/jbarham/pgsql.go package github.com/jbarham/pgsql.go imports github.com/jbarham/pgsql.go...
may be add few lines of code like: ``` func resultStatus(res *C.PGresult) (int) { return int(C.PQresultStatus(res)) } func (c *Conn) CopyFrom(stmt string, reader io.Reader) os.Error { // buffer sb :=...