Yet another PostgreSQL client: https://github.com/vmihailenco/pg . This is
not a driver for database/sql and therefore client supports (or will
support) PostgreSQL specific features.
Currently implemented:
- Arrays.
- Partially hstore.
- Transactions.
- Prepared statements.
- Notifications, LISTEN/NOTIFY.
- Timeouts. Client sends CancelRequest message on timeout.
- Connection pool.
- PostgreSQL to Go struct mapping.
It should be significantly faster than lib/pq, because it does not have to
deal with database/sql restrictions. Synthetic benchmark:
BenchmarkQueryRowStmt 10000 117048 ns/op
BenchmarkQueryRowStmtStdlibPq 10000 166451 ns/op
BenchmarkQueryRow 10000 128592 ns/op
BenchmarkQueryRowStdlibPq 5000 311622 ns/op
Client is used in production for a few months and can be considered stable.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.