Commit Graph

16 Commits (1ff653ae15e59a5a0e4cb6bb76b2b100f1c08770)

Author SHA1 Message Date
Jack Christensen 1ff653ae15 Rename ConnectionParameters to ConnConfig 2014-05-17 13:38:13 -05:00
Jack Christensen 4eb597d20b Rename pgx.Connection to pgx.Conn 2014-05-17 13:11:30 -05:00
Jack Christensen 06d75e0fee Add Transaction and TransactionIso to ConnectionPool
fixes #25
2014-01-15 08:16:37 -06:00
Jack Christensen ad34dc7264 Connections notice when they die and pools drop dead connections 2013-07-26 13:47:06 -05:00
Jack Christensen a81a5f08b8 ConnectionPool now only creates the connections it needs 2013-07-26 07:27:14 -05:00
Jack Christensen 622ff142ca Add error to *ConnectionPool.Acquire return 2013-07-25 07:52:05 -05:00
Jack Christensen e55a5ebccf Add AfterConnect callback for ConnectionPool 2013-07-23 17:46:38 -05:00
Jack Christensen 36904168b2 Don't panic! 2013-07-20 13:07:30 -05:00
Jack Christensen bae49077ce Use pgx_test package for tests 2013-07-16 08:29:59 -05:00
Jack Christensen 98d4ce4c09 DRYed test and benchmark 2013-07-13 19:23:13 -05:00
Jack Christensen ad27e43224 Rollback in progress transactions when releasing connection 2013-07-13 09:15:40 -04:00
Jack Christensen e99a9b2306 Make connections configurable and skippable
It is a hassle to setup all potential connection and authentication
types. And it is impossible to test Unix domain sockets on Windows. Make
testing non-default connections optional.
2013-07-07 21:34:11 -05:00
Jack Christensen d1fda1b21c Replace Select(type) with SelectValue
refs #19
2013-06-29 09:25:52 -05:00
Jack Christensen 19d4a4d577 Make ConnectionParameters fields public 2013-04-23 08:57:29 -05:00
Jack Christensen 460acd7757 Use struct instead of map[string]string for connection params 2013-04-23 08:05:05 -05:00
Jack Christensen 6be77b4d64 Added ConnectionPool
fixes #7
2013-04-19 15:48:57 -05:00