Jack Christensen
de41977104
Run short tests on travis to avoid failure due to too long tests
2015-10-26 17:43:30 -05:00
Jack Christensen
b7b7a83471
Test on travis with Go 1.5
2015-10-26 17:40:35 -05:00
Jack Christensen
3262ee23f3
Release 2.7.1
2015-10-26 12:09:46 -05:00
Jack Christensen
60cca3de7d
Disable SSL renegotiation
...
fixes #103
2015-10-26 12:07:54 -05:00
Jack Christensen
1e9206fc6c
Release v2.7.0
2015-10-16 16:37:45 -05:00
Jack Christensen
7e668f54fe
Update changelog
2015-10-16 16:18:31 -05:00
Jack Christensen
8d9eb62609
Add docs for relating to ConnConfig.RuntimeParams
2015-10-16 16:16:39 -05:00
Jack Christensen
ec8f6259e6
ParseEnvLibpq extracts PGAPPNAME
2015-10-16 16:13:15 -05:00
Jack Christensen
829d61ce40
ParseDSN extracts RuntimeParams
2015-10-16 15:48:24 -05:00
Jack Christensen
5b0550c1cb
ParseURI extracts run-time parameters
...
refs #99
2015-10-16 15:37:49 -05:00
Jack Christensen
1fb63a4b41
Add RuntimeParams to ConnConfig
2015-10-16 15:37:32 -05:00
Jack Christensen
355a3854db
Update changelog
2015-10-16 15:01:40 -05:00
Jack Christensen
41b96b5f77
Fix stdlib error caused by idempotent Prepare
2015-10-16 14:58:03 -05:00
Jack Christensen
984eace2b5
Make *Conn.Prepare idempotent.
...
fixes #94
2015-10-16 14:17:07 -05:00
Jack Christensen
c668caeb31
Fix error message in tests.
2015-10-16 14:15:26 -05:00
Jack Christensen
7dfdc92855
Rows.Values supports oid type
2015-10-07 08:00:43 -05:00
Jack Christensen and Jake Worth
c726a51450
Add inet[] and cidr[] support
2015-09-29 13:23:26 -05:00
Jack Christensen
36fb7a3aec
Use Skip when skipping tests rather than just return
2015-09-26 13:29:40 -05:00
Jack Christensen
20cf4f87ab
Remove notifications when releasing Conn to Pool
2015-09-26 13:24:21 -05:00
Jack Christensen
3857bab52e
Add query close early to pool stress test
2015-09-26 13:19:00 -05:00
Jack Christensen
e315754b1f
Add stress test to connection pool
2015-09-26 13:12:53 -05:00
Jack Christensen
4987d5425e
Fix JSON encoding of *string
2015-09-21 13:40:47 -05:00
Jack Christensen
1b90ad1051
Update changelog
2015-09-21 08:20:30 -05:00
Jack Christensen
ca16a4c98f
Unlisten tweaks
...
- Use unlisten * when releasing connection with listeners to pool
- Only unlisten on releasing connection to pool when necessary
- Remove Unlisten("") as was to release all listeners
2015-09-21 08:18:10 -05:00
Jack Christensen
9fd5c7e6ab
Add test for Unlisten
2015-09-21 08:05:53 -05:00
Joseph Glanville
eb5cadccf9
Track Listen/Unlisten and clear subscriptions on conn release
2015-09-21 07:56:45 -05:00
Jack Christensen
516c88fde3
Update changelog
2015-09-21 07:54:22 -05:00
Jack Christensen
90b2e0acb7
Add additional testing around listen/notify
2015-09-17 17:40:04 -05:00
Jack Christensen
86837e5576
Add guards against usage of busy connection
2015-09-16 10:22:16 -05:00
Jack Christensen
51407590eb
Add LogLevelFromString func
2015-09-16 09:21:51 -05:00
Jack Christensen
23c48c2f87
Add trace logging
2015-09-16 08:40:01 -05:00
Jack Christensen
a1aa06c934
More efficient logging with log levels
2015-09-16 08:20:51 -05:00
Jack Christensen
a2e078597b
Add logging to rxMsg
...
Also benchmark what a log call costs
2015-09-14 10:25:48 -05:00
Jack Christensen
057da9f8e7
Add benchmarks for logging
2015-09-14 10:01:05 -05:00
Jack Christensen
3316ed2ff4
Update changelog
2015-09-12 19:42:15 -05:00
Jack Christensen
93aa2b2e80
ConnPool.Begin retry logic checks connection IsAlive
...
ErrDeadConn is returned when calling an already dead connection. But the initial failure returns the real error. So we check for IsAlive instead of ErrDeadConn.
Added test for ConnPool.Begin retry logic.
2015-09-12 19:39:37 -05:00
Jack Christensen
6e5fa60c4c
Fix cases where net conn write failure was not marking connection as dead
...
Also added loop to run these timing sensitive tests multiple times.
2015-09-12 19:32:55 -05:00
Jack Christensen
bc4742b80a
DRY ConnPool Begin and BeginIso
2015-09-12 19:12:55 -05:00
Jack Christensen
6ac98ef613
Add test for ConnPool.Begin retry
...
Also fix bug where conn is not released on non ErrDeadConn error
returned from Conn.Begin
2015-09-12 19:10:55 -05:00
Joseph Glanville
4868929ff1
ConnPool.Begin/BeginIso will retry if they Acquire a dead connection
2015-09-11 03:05:43 +10:00
Jack Christensen
8b296b9d58
Encode from net.IP to inet and cidr
2015-09-09 18:49:20 -05:00
Jack Christensen
ee7d621528
Update changelog
2015-09-09 18:31:19 -05:00
Jack Christensen
4ff46becfc
Generalize pointer to string uuid transcoding to any non-varchar/text type
2015-09-09 18:07:05 -05:00
Joseph Glanville
2184ffb5e9
Add support for encoding to UUID from string types
2015-09-10 00:58:51 +10:00
Jack Christensen
b1d721c487
Merge pull request #91 from titanous/patch-1
...
Fix feature attribution in CHANGELOG
2015-09-08 13:13:59 -05:00
Jonathan Rudenberg
53967c704a
Fix feature attribution in CHANGELOG
2015-09-08 17:43:41 +00:00
Jack Christensen
e4f401f6ec
Add documentation for pointer to pointer null mapping
2015-09-08 12:15:16 -05:00
Jack Christensen
73135865e7
Add benchmarks for NullX vs pointer to pointer
2015-09-08 12:08:20 -05:00
Jonathan Rudenberg
272262536b
Add support for pointers to pointers
...
Using types like **string allows the inner pointer to be nil’ed out,
avoiding the need for NullX types.
Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
2015-09-08 11:52:58 -05:00
Jack Christensen
4ebb0508b6
Encode dates in binary format
...
- Also allow NullTime to handle dates
2015-09-08 11:51:28 -05:00