Jack Christensen
13a6cdd66c
Add ParseURI
2014-05-09 09:36:09 -05:00
Jack Christensen
8b2a3edb62
ConnectionParameters.Socket now refers to socket directory
...
This makes PGX behave more like libpq
* But for backward compatibility still accept complete file names.
2014-05-09 08:11:14 -05:00
Jack Christensen
a0bfe4eab8
Fix WaitForNotification when it times out
2014-04-25 10:03:11 -06:00
Jack Christensen
b97b012d42
Rename SSL to TLS
2013-10-03 08:07:37 -05:00
Derek Parker and Jack Christensen
21c1717d45
Add initial SSL support
2013-09-27 16:10:13 -05:00
Jack Christensen
0e30c0ae61
Fix: Prepare statement without result set
2013-08-05 11:30:20 -05:00
Jack Christensen
3ca58c01fe
Add example for SelectRows
2013-07-30 17:53:40 -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
ad34dc7264
Connections notice when they die and pools drop dead connections
2013-07-26 13:47:06 -05:00
Jack Christensen
dfa06ed265
Increase timeout in test to avoid flicker failure
2013-07-20 19:56:12 -05:00
Jack Christensen
36904168b2
Don't panic!
2013-07-20 13:07:30 -05:00
Derek Parker and Jack Christensen
b271dd5bf1
Add listen/notify
...
fixes #8
2013-07-19 17:01:38 -05:00
Jack Christensen
fdeb2412ec
Add example for SelectFunc
...
fixes #6
2013-07-18 08:39:37 -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
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
26105f4409
Added *Connection.Transaction
2013-07-13 10:19:29 -04:00
Jack Christensen
07c2ad1846
Failure of Prepare should not break connection
2013-07-09 12:51:00 -05:00
Jack Christensen
6fb360ba6c
Execute failures don't break connection
2013-07-09 10:17:53 -05:00
Jack Christensen
fe2f62f034
Fix Execute SQL larger than sharedBufferSize
2013-07-08 14:32:28 -05: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
a98db507b7
Added bytea support to prepared statements
...
fixes #9 , fixes #10
2013-07-01 17:12:07 -05:00
Jack Christensen
52c26ba14c
Treat unknown oid's as text type
2013-07-01 16:50:16 -05:00
Jack Christensen
732534b944
Add test for boolean transcoding
2013-07-01 16:43:27 -05:00
Jack Christensen
5073a3b9e0
Dirty, but somewhat working prepared statements and extended protocol
2013-07-01 15:41:20 -05:00
Jack Christensen
73a4cfd360
Query methods sanitize arguments
...
fixes #18
2013-06-29 19:40:17 -05:00
Jack Christensen
6339e54be4
SelectValue(s) require exactly one column
2013-06-29 13:39:35 -05:00
Jack Christensen
08801c2fe4
Select(Value|Row) require exactly one found row
2013-06-29 13:23:26 -05:00
Jack Christensen
aabf563a3b
SelectValue and SelectRow error if no rows found
...
fixes #14
2013-06-29 13:10:24 -05:00
Jack Christensen
b53b014b54
DRY tests
2013-06-29 12:39:34 -05:00
Jack Christensen
520da3a102
Use interace{} returning SelectValue(s)
...
Instead of SelectInt32, SelectAllString, etc.
fixes #19
2013-06-29 12:07:31 -05:00
Jack Christensen
9294c0ee57
Add SelectRow
2013-06-07 14:23:46 -05:00
Jack Christensen
36e4d74d30
Add DataRowReader and change Connection.SelectFunc to use it
...
Preparatory step for structure binding. refs #11
2013-05-01 08:51:09 -05:00
Jack Christensen
78590be058
Made many things public so SelectFunc is actually usable by others
...
Definitely, need to add higher level methods for other packages to
use. May rehide some of these interfaces at that point.
2013-04-26 17:06:49 -05:00
Jack Christensen
19d4a4d577
Make ConnectionParameters fields public
2013-04-23 08:57:29 -05:00
Jack Christensen
d1a56c95d2
Connect via TCP
...
fixes #15
2013-04-23 08:15:05 -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
70e461b769
Renamed conn* to connection*
2013-04-20 11:55:13 -05:00