Jack Christensen
|
2f156c7add
|
Access PID and SecretKey via method
|
2018-12-31 18:03:55 -06:00 |
|
Jack Christensen
|
f5faed6568
|
Access underlying net.Conn via method
Also remove some dead code.
|
2018-12-31 18:00:08 -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
|
4e12c08b04
|
Use buffered exec
|
2018-12-31 14:14:40 -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 |
|