Jack Christensen
|
f277719f10
|
Remove unused test_setup.sql
|
2013-07-30 07:30:50 -05:00 |
Jack Christensen
|
08020c5b53
|
Remove experimental
|
2013-07-30 07:29:28 -05:00 |
Jack Christensen
|
6c576bbef6
|
Don't test cause of death for killed connection
Different platforms have different causes of death
|
2013-07-27 10:37:09 -05:00 |
Jack Christensen
|
2e8ebc0e27
|
Don't test cause of death for killed connection
Different platforms have different causes of death
|
2013-07-27 10:33:11 -05:00 |
Jack Christensen
|
2f5b2c1afc
|
Add SelectValueTo
|
2013-07-26 18:08:16 -05:00 |
Jack Christensen
|
097c68e73b
|
Check for alive before rx or tx
|
2013-07-26 18:07:46 -05:00 |
Jack Christensen
|
c96fa440cc
|
Test getSharedConnection handles dead connections
If a test does something that kills a connection, it previously
would break all subsequent tests that used the shared connection.
It no longer does.
|
2013-07-26 16:45:27 -05:00 |
Jack Christensen
|
c36c0875c9
|
Make message buffer size configurable
|
2013-07-26 15:10:19 -05:00 |
Jack Christensen
|
3873a83a0a
|
Buffer writes to the PostgreSQL socket
Avoid sending a packet for each write
|
2013-07-26 14:48:41 -05: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
|
209a9dfaf5
|
Factor out *ConnectionPool createConnection
|
2013-07-25 07:36:58 -05:00 |
Jack Christensen
|
7450854d50
|
Add benchmark of ConnectionPool Acquire/Release
|
2013-07-25 07:34:38 -05:00 |
Jack Christensen
|
e55a5ebccf
|
Add AfterConnect callback for ConnectionPool
|
2013-07-23 17:46:38 -05:00 |
Jack Christensen
|
7f3c5ab815
|
Add Execute to ConnectionPool
|
2013-07-22 08:05:43 -05:00 |
Jack Christensen
|
dfa06ed265
|
Increase timeout in test to avoid flicker failure
|
2013-07-20 19:56:12 -05:00 |
Jack Christensen
|
0d75daf12e
|
Add basic array transcoding for int16, int32, and int64
|
2013-07-20 19:51:01 -05:00 |
Jack Christensen
|
8b27a73a08
|
Fix typo
|
2013-07-20 17:02:08 -05:00 |
Jack Christensen
|
36904168b2
|
Don't panic!
|
2013-07-20 13:07:30 -05:00 |
Jack Christensen
|
0c3753e507
|
MessageReader uses ReadCString and ReadString names
Make consistent with MessageWriter
|
2013-07-20 08:40:37 -05:00 |
Jack Christensen
|
ce2d53c4fb
|
Use deferred error handling for pgx.MessageReader
|
2013-07-20 08:36:33 -05:00 |
Jack Christensen
|
fd287527fe
|
Fix connection settings example
|
2013-07-20 08:14:17 -05:00 |
Derek Parker and Jack Christensen
|
b271dd5bf1
|
Add listen/notify
fixes #8
|
2013-07-19 17:01:38 -05:00 |
Jack Christensen
|
9e321af35c
|
Add binary encoding for timestamptz
|
2013-07-19 14:40:07 -05:00 |
Jack Christensen
|
faed7f2879
|
Add timestamptz transcoding
|
2013-07-19 13:00:22 -05:00 |
Jack Christensen
|
fdeb2412ec
|
Add example for SelectFunc
fixes #6
|
2013-07-18 08:39:37 -05:00 |
Jack Christensen
|
ef470b1e30
|
Add date transcoding
|
2013-07-18 08:32:31 -05:00 |
Jack Christensen
|
c2ddbc0163
|
Add custom value transcoder example
|
2013-07-16 19:08:46 -05:00 |
Jack Christensen
|
9640dc91e4
|
Make getSharedConnection private again
|
2013-07-16 08:32:49 -05:00 |
Jack Christensen
|
bae49077ce
|
Use pgx_test package for tests
|
2013-07-16 08:29:59 -05:00 |
Jack Christensen
|
8df9964ce8
|
MessageWriter needs to be public for custom value transcoders
|
2013-07-15 17:57:43 -05:00 |
Jack Christensen
|
1af652ce07
|
More docs and make ValueTranscoder visible.
|
2013-07-15 17:45:20 -05:00 |
Jack Christensen
|
462df934ab
|
Add docs for MessageReader
|
2013-07-15 08:30:02 -05:00 |
Jack Christensen
|
df0a537f59
|
Make Oid public
|
2013-07-15 08:28:33 -05:00 |
Jack Christensen
|
1d1d836207
|
Added more docs
|
2013-07-15 08:14:32 -05:00 |
Jack Christensen
|
0de2a7897a
|
Added more docs
|
2013-07-14 17:02:49 -05:00 |
Jack Christensen
|
aeeb8a724a
|
Added some documentation
Made preparedStatement invisible outside package
|
2013-07-14 16:55:08 -05:00 |
Jack Christensen
|
00e3ec32ca
|
Add TransationIso
fixes #5
|
2013-07-13 19:58:44 -05:00 |
Jack Christensen
|
98d4ce4c09
|
DRYed test and benchmark
|
2013-07-13 19:23:13 -05:00 |
Jack Christensen
|
8afcde41f2
|
Start factoring test helpers out
|
2013-07-13 17:29:24 -04:00 |
Jack Christensen
|
26105f4409
|
Added *Connection.Transaction
|
2013-07-13 10:19:29 -04:00 |
Jack Christensen
|
ad27e43224
|
Rollback in progress transactions when releasing connection
|
2013-07-13 09:15:40 -04:00 |
Jack Christensen
|
e162a0bbcb
|
Update tx status on ready for query message
|
2013-07-13 09:04:38 -04:00 |
Jack Christensen
|
b4e96027b3
|
Add one shot queries against connection pool
finishes #17
|
2013-07-12 18:42:22 -04:00 |
Jack Christensen
|
c69e638f68
|
Added (remove|restore)BinaryEncoders
Makes it so the oid doesn't have to be hard coded into text
benchmarks that disable binary encoding.
|
2013-07-12 18:21:40 -04:00 |
Jack Christensen
|
53da3bb789
|
Use binary encoding for bool
|
2013-07-12 18:02:23 -04:00 |
Jack Christensen
|
62dba1a94c
|
Encode float params in binary
|
2013-07-12 17:30:45 -04:00 |
Jack Christensen
|
8c7ea78485
|
Add binary decoding for floats
|
2013-07-11 12:42:17 -04:00 |
Jack Christensen
|
01b7865abf
|
Rename writeStringNull to writeCString
|
2013-07-10 08:35:41 -04:00 |