5 Commits

Author SHA1 Message Date
Jack Christensen
a0cef77510 Use NoError instead of Nil for assertions 2019-01-19 14:51:07 -06:00
Jack Christensen
03f2d34486 Run tests in parallel 2018-12-31 17:34:44 -06:00
Jack Christensen
c552e2c028 Add support for libpq target_session_attrs
Generalize AcceptConnFunc into AfterConnectFunc.
2018-12-31 12:15:29 -06:00
Jack Christensen
afd3583558 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
b3c8a73dc7 Restructure connect process
- Moved lots of connection logic to pgconn from pgx
- Extracted pgpassfile package
2018-12-30 16:55:56 -06:00