- Add
`&ssl=no-verify` option to connection string and
`PGSSLMODE=no-verify` environment variable support for the pure JS driver. This is equivalent of passing
`{ ssl: { rejectUnauthorized: false } }` to the client/pool constructor. The advantage of having support in connection strings and environment variables is it can be "externally" configured via environment variables and CLI arguments much more easily, and should remove the need to directly edit any application code for
[the SSL default changes in 8.0
](https://node-postgres.com/announcements#2020-02-25). This should make using
`[email protected]` significantly less difficult on environments like Heroku for example.
0 commit comments