Jack Christensen
|
c745509c59
|
Rename test
|
2019-04-05 11:27:04 -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
|
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
|
96c85cf0c3
|
Recover from context cancellation during CopyFrom
|
2019-01-26 12:20:36 -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
|
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
|
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
|
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
|
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
|
cddf011806
|
Big restructure to better handle context cancel
|
2019-01-05 17:37:28 -06:00 |
|
Jack Christensen
|
b213299a92
|
Add ensureReadyForQuery to pgconn
|
2019-01-02 13:59:00 -06:00 |
|
Jack Christensen
|
460946d662
|
Move notice handling to pgconn
|
2019-01-02 13:15:26 -06:00 |
|
Jack Christensen
|
6d2fa9c5cf
|
Handle empty query response
|
2019-01-02 12:28:11 -06:00 |
|
Jack Christensen
|
d545e0704e
|
Prepare returns description
|
2019-01-01 18:03:20 -06:00 |
|
Jack Christensen
|
7986e2726d
|
pgx uses pgconn.CommandTag instead of own definition
|
2019-01-01 16:55:48 -06:00 |
|
Jack Christensen
|
914766af9b
|
Use result readers in next/get fashion
|
2019-01-01 14:10:16 -06:00 |
|
Jack Christensen
|
54df8c6918
|
Add ExecPrepared
|
2019-01-01 11:32:56 -06:00 |
|
Jack Christensen
|
13323df0dd
|
Add batched query test
|
2018-12-31 20:08:11 -06:00 |
|
Jack Christensen
|
5f69253174
|
Added ExecParams
|
2018-12-31 19:59:32 -06:00 |
|
Jack Christensen
|
650aa7059a
|
Fix broken tests
|
2018-12-31 18:45:51 -06:00 |
|
Jack Christensen
|
49c9674102
|
PG error type is *pgconn.PgError
|
2018-12-31 17:46:56 -06:00 |
|
Jack Christensen
|
bcc3da490c
|
Run tests in parallel
|
2018-12-31 17:34:44 -06:00 |
|
Jack Christensen
|
53175a7bad
|
Add cancel request to PgConn
RecoverFromTimeout automatically tries to cancel in progress requests.
|
2018-12-31 17:32:04 -06:00 |
|
Jack Christensen
|
4ee6fef452
|
Add context to potentially blocking methods
|
2018-12-31 17:17:11 -06:00 |
|
Jack Christensen
|
b419493e5c
|
Add pgconn.Exec
|
2018-12-31 13:32:26 -06:00 |
|
Jack Christensen
|
8c574c39f8
|
Add support for libpq target_session_attrs
Generalize AcceptConnFunc into AfterConnectFunc.
|
2018-12-31 12:15:29 -06:00 |
|
Jack Christensen
|
5ae6310b05
|
Add AcceptConnFunc for filtering HA connections
|
2018-12-31 11:39:22 -06:00 |
|
Jack Christensen
|
1836f7be46
|
Support comma separated hosts and ports like libpq
Also add test and fix the fallback config implementation.
|
2018-12-31 11:14:13 -06:00 |
|
Jack Christensen
|
c4080cce35
|
Move connection tests to pgconn
|
2018-12-30 21:10:06 -06:00 |
|
Jack Christensen
|
beeb69ff0b
|
Restructure connect process
- Moved lots of connection logic to pgconn from pgx
- Extracted pgpassfile package
|
2018-12-30 16:55:56 -06:00 |
|
Jack Christensen
|
5d17ec4156
|
Rename base package to pgconn
|
2018-12-28 17:09:56 -06:00 |
|