Brian C
5be3d95f62
Remove double-send of ssl request packet ( #2086 )
...
* Remove double-send of ssl request packet
I missed the fact that we are already sending this. Since I don't have good test coverage for ssl [which I am planning on fixing next](https://github.com/brianc/node-postgres/issues/2009 ) this got missed.
I'm forcing an SSL test on travis. This will break for me locally as I don't have SSL enabled on my local test DB. Something I will also remedy.
2020-01-29 18:10:23 -06:00
Brian C
11ab1daadd
Close connection on SSL connection errors ( #2082 )
...
* Close connection on SSL connection errors
Fixes #2079
* Fix test
* Remove console.log
* Fix tests, implement same behavior for native client
* Fix tests
2020-01-29 10:18:20 -06:00
Charmander
ee8d32f97c
Deprecate implicit TLS rejectUnauthorized: false ( #2075 )
...
Yes, it treats `undefined` as `false`. Discussion in #2009 . Introduced unintentionally in pg 0.8.7.
2020-01-15 14:59:26 -06:00
Brian C
19308f9ceb
Result.fields should always be an array ( #2060 )
...
This fixes a subtle backwards incompatible change. Added a test to prevent further regressions. Closes #2056
2020-01-09 21:30:53 -06:00
Andrew Heuermann
bb8e806bc5
Adding ability to pass through idle_in_transaction_session_timeout
2019-12-27 15:31:19 -06:00
Brian M. Carlson
6168f2ee0d
Disable lint on missing module since the file is not included
2019-12-27 03:22:30 +00:00
Brian M. Carlson
b0be9da986
Cleanup
2019-12-19 18:57:48 -06:00
Brian M. Carlson
e500479382
Add streaming parser
2019-12-19 14:41:05 -06:00
Brian M. Carlson
d2cad38452
Dont use experimental parser yet
2019-12-19 07:39:04 -06:00
Brian M. Carlson
e5d46749c0
Work in progress...convert to more efficient reader
2019-12-18 23:44:43 -06:00
Brian C
1b5f3e33c4
Monorepo ( #2014 )
...
* First crack at monorepo
* Update test command
* Update path to script
* Remove node 6 from CI
2019-12-17 08:32:08 -08:00