Jack Christensen
8577dccd65
Make ConnPoll stress test time based
...
Test now runs for fixed amount of time instead of a fixed number of iterations.
This should enable TravisCI to finish the test.
2015-12-12 17:35:24 -06:00
Jack Christensen
d84ee5c18a
Remove dead code
2015-12-12 13:20:44 -06:00
Jack Christensen
08f927ca7e
Update CHANGELOG
2015-12-12 13:18:38 -06:00
Jack Christensen
f004f0802c
Add ConnPool.Reset method
...
refs #110
2015-12-12 13:15:14 -06:00
Jack Christensen
1eecea606b
Tweak doc.go so section head is detected
2015-12-09 12:00:33 -06:00
Blake Gentry
6fc16d96c7
fix copy/paste doc mistakes
...
refer to the correct field names in docs for for all nullable types
2015-11-29 21:59:42 -08:00
Jack Christensen
edfdaf15c6
Rows.Scan errors now include which argument caused error
2015-11-20 14:02:49 -06:00
Jack Christensen
dd26ad0091
Remove unreachable code
2015-11-14 14:14:52 -06:00
Jack Christensen
b5901f7dba
Fix skip JSON tests for old servers
2015-11-12 15:43:48 -06:00
Jack Christensen
09e0cc4815
Skip JSON tests for old PostgreSQL servers
2015-11-12 15:27:20 -06:00
Jack Christensen
e1215d9b19
[]byte skips encoding/decoding
...
refs #104
2015-11-12 14:54:25 -06:00
Jack Christensen
26bb780063
inet is known type now -- so use point instead
2015-11-12 13:41:00 -06:00
Jack Christensen
69102e4463
test ipv4 for travis simplicity
2015-10-26 19:08:15 -05:00
Jack Christensen
db57394741
test ipv4 for travis simplicity
2015-10-26 18:13:35 -05:00
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