Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Node PG version 8.x

Compare
Choose a tag to compare
@taylordowns2000 taylordowns2000 released this 25 Aug 12:43
· 152 commits to master since this release

This release sets the default to blocking self-signed certificates and changes the output on multi-string selects: Result from multi-statement text queries such as SELECT 1; SELECT 2; are now returned as an array of results instead of a single result with 1 array containing rows from both queries.

The adaptor is now more secure and running on up-to-date dependencies. To allow self signed certificates, please pass the allowSelfSignedCerts option into your configuration:

{
  "configuration": {
     "user": "postgres",
     "ssl": true,
     "allowSelfSignedCert": true,
     "port": 5432,
     "password": "shhhhhhhhh",
     "host": "localhost",
     "database": "openfn_dev"
  },
}

See the pg changelog here: https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md#700