Jack Christensen
|
cd629965e6
|
Use golang.org/x/xerrors
|
2019-04-20 12:57:52 -05:00 |
|
Jack Christensen
|
39e6ff5766
|
Prevent deadlock with huge batches
|
2019-04-20 11:11:09 -05:00 |
|
Jack Christensen
|
9f774761ba
|
Fix TestConnLocking
|
2019-04-20 10:59:50 -05:00 |
|
Jack Christensen
|
3710e52a9a
|
Add named error for conn busy
|
2019-04-19 16:16:55 -05:00 |
|
Jack Christensen
|
7bb6c2f3e9
|
Unify locked and closed into status
No longer panic on locking busy conn
|
2019-04-19 15:52:12 -05:00 |
|
Jack Christensen
|
16412e56e2
|
0 alloc context to deadline
|
2019-04-19 14:43:09 -05:00 |
|
Jack Christensen
|
2383561e4d
|
Use 0-alloc pgproto3/v2
|
2019-04-18 23:17:28 -05:00 |
|
Jack Christensen
|
9d30dad837
|
Do not buffer results in benchmarks
|
2019-04-18 22:52:07 -05:00 |
|
Jack Christensen
|
b6e5b74e2c
|
Reuse one MultiResultReader per connection
Using a PgConn while locked now panics. i.e. You must Close any
ResultReader or MultiResultReader.
|
2019-04-18 22:50:36 -05:00 |
|
Jack Christensen
|
bc139fadb5
|
Reuse one ResultReader per connection
|
2019-04-18 22:01:47 -05:00 |
|
Jack Christensen
|
e948dc3246
|
Reuse buffer for writing
|
2019-04-18 21:51:58 -05:00 |
|
Jack Christensen
|
0174907e04
|
Fix travis unix domain socket test
|
2019-04-16 20:58:10 -05:00 |
|
Jack Christensen
|
244e114435
|
Add SCRAM authentication
|
2019-04-16 20:41:38 -05:00 |
|
Jack Christensen
|
698bd4bf5a
|
Use defer to unlock pgConn in Prepare
|
2019-04-13 10:30:49 -05:00 |
|
Jack Christensen
|
0ebe322ac3
|
Extract common code from ExecParams and ExecPrepared
|
2019-04-05 16:10:11 -05:00 |
|
Jack Christensen
|
7ad3625edd
|
unlock connection when context is pre-canceled
|
2019-04-05 12:06:59 -05:00 |
|
Jack Christensen
|
408837dcb1
|
Handle extended protocol with too many arguments
|
2019-04-05 11:47:31 -05:00 |
|
Jack Christensen
|
c745509c59
|
Rename test
|
2019-04-05 11:27:04 -05:00 |
|
Jack Christensen
|
ed7d91dc98
|
Force Go modules for Travis
|
2019-03-30 17:13:23 -05:00 |
|
Jack Christensen
|
3d9e42d74c
|
Replace chan based conn locking with bool
This is conceptually simpler and will lead to error messages instead of
deadlocks.
|
2019-03-30 17:09:39 -05:00 |
|
Jack Christensen
|
444bd6deaf
|
Context cancellation is fatal during query
|
2019-03-30 16:44:20 -05:00 |
|
Jack Christensen
|
b2fc69d32f
|
Import pgx travis config
|
2019-03-30 13:03:28 -05:00 |
|
Jack Christensen
|
08fcc7f273
|
Add license and readme
|
2019-03-30 12:59:04 -05:00 |
|
Jack Christensen
|
fbdfccf1f9
|
Use Go modules
|
2019-03-30 12:55:56 -05:00 |
|
Jack Christensen
|
79ffab9836
|
All writes errors are fatal
|
2019-01-28 23:13:03 -06:00 |
|
Jack Christensen
|
9229e03d06
|
Partial conversion of pgx to use pgconn
|
2019-01-26 16:46:30 -06:00 |
|
Jack Christensen
|
b59437f6ec
|
writeAll dies on permanent net errors
|
2019-01-26 16:45:06 -06:00 |
|
Jack Christensen
|
f5aecdd499
|
Extract writeAll
|
2019-01-26 12:33:51 -06:00 |
|
Jack Christensen
|
96c85cf0c3
|
Recover from context cancellation during CopyFrom
|
2019-01-26 12:20:36 -06:00 |
|
Jack Christensen
|
01b54c7cb6
|
Properly abort CopyFrom on reader error
|
2019-01-26 10:21:16 -06:00 |
|
Jack Christensen
|
3683e4a0a1
|
Move CopyFrom to pgconn
|
2019-01-19 17:24:48 -06:00 |
|
Jack Christensen
|
c9f985c1e4
|
Add PgConn.EscapeString
|
2019-01-19 15:44:03 -06:00 |
|
Jack Christensen
|
e15528c419
|
Remove obsolete comment
|
2019-01-19 15:41:42 -06:00 |
|
Jack Christensen
|
c447ff4e79
|
Use NoError instead of Nil for assertions
|
2019-01-19 14:51:07 -06:00 |
|
Jack Christensen
|
19ef57ad9a
|
Add PgConn.CopyTo
|
2019-01-19 14:49:39 -06:00 |
|
Jack Christensen
|
e441d4828c
|
Fix doc typo
|
2019-01-19 14:49:26 -06:00 |
|
Jack Christensen
|
edfd837ba4
|
Add PgConn.WaitForNotification
|
2019-01-14 20:51:53 -06:00 |
|
Jack Christensen
|
cd4b0025c3
|
Add listen/notify to pgconn
|
2019-01-14 20:39:10 -06:00 |
|
Jack Christensen
|
b3cde6830f
|
Fix die on receive message error
|
2019-01-14 20:27:34 -06:00 |
|
Jack Christensen
|
9c36fa1e50
|
Fix prepare failure
|
2019-01-12 16:16:47 -06:00 |
|
Jack Christensen
|
bd777fe20c
|
Add custom context cancellation hook
|
2019-01-12 11:37:13 -06:00 |
|
Jack Christensen
|
c6a73a469a
|
Add example
|
2019-01-05 18:47:50 -06:00 |
|
Jack Christensen
|
406e95650a
|
Add more docs
|
2019-01-05 18:40:33 -06:00 |
|
Jack Christensen
|
2959411c41
|
CommandTag is string
|
2019-01-05 18:06:25 -06:00 |
|
Jack Christensen
|
2c8971b382
|
Rename some types and methods
|
2019-01-05 18:01:57 -06:00 |
|
Jack Christensen
|
379be3508b
|
Add some docs for batch
|
2019-01-05 17:46:47 -06:00 |
|
Jack Christensen
|
04ee3b8cbd
|
Remove Pg prefix for a couple types
|
2019-01-05 17:41:43 -06:00 |
|
Jack Christensen
|
cddf011806
|
Big restructure to better handle context cancel
|
2019-01-05 17:37:28 -06:00 |
|
Jack Christensen
|
64e80f1f72
|
Add benchmarks when cancellable
|
2019-01-02 18:16:20 -06:00 |
|
Jack Christensen
|
fa5e1d3ec4
|
Back out of some over optimization
|
2019-01-02 18:16:08 -06:00 |
|