Commit Graph

13 Commits (0e30c0ae61d79752ae36b6f4b33d76837f08abcf)

Author SHA1 Message Date
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