go-pgsql
go-pgsql copied to clipboard
A PostgreSQL client package for the Go Programming Language
After investigation this is due to the deadline set using the following line: ``` panicIfErr(tcpConn.SetDeadline(time.Unix(int64(params.TimeoutSeconds*1000*1000*1000), 0))) ``` Line located within conn.go into the Connect proc. I guess this line is...
``` sql CREATE TABLE test8 (aaa CHAR(10)); INSERT INTO test8 (aaa) VALUES ('aaaa'); ``` rs,err := db.Query("SELECT aaa FROM test8") error message: Error: unexpected field data type
I don't know if this driver implements the LastInsertId method of the Result type of the database/sql package or not but when I tried to use it I got back...
Link (https://github.com/lxn/go-pgsql/blob/master/go-pgsql/tree/master/examples) mentioned to examples in README is not working (returns 404)