Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: brianc/node-postgres
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.4.2
Choose a base ref
...
head repository: brianc/node-postgres
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.4.3
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on May 7, 2018

  1. tls.connect({checkServerIdentity}) option cannot be a null - must be …

    …a method or not exist.
    
    Defaults to built-in `tls.checkServerIdentity` method in the event one is not passed into `pgConfig.ssl`
    
    Found breaking in v9.4.2 vs v9.4.1 a la 4905471
    
    cc @tobio @brianc
    matthiasak authored and brianc committed May 7, 2018
    Copy the full SHA
    7de137f View commit details
  2. Bump version

    brianc committed May 7, 2018
    Copy the full SHA
    3ac356a View commit details
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/connection.js
  2. +1 −1 package.json
2 changes: 1 addition & 1 deletion lib/connection.js
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ Connection.prototype.connect = function (port, host) {
self.stream = tls.connect({
socket: self.stream,
servername: host,
checkServerIdentity: self.ssl.checkServerIdentity,
checkServerIdentity: self.ssl.checkServerIdentity || tls.checkServerIdentity,
rejectUnauthorized: self.ssl.rejectUnauthorized,
ca: self.ssl.ca,
pfx: self.ssl.pfx,
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pg",
"version": "7.4.2",
"version": "7.4.3",
"description": "PostgreSQL client - pure javascript & libpq with the same API",
"keywords": [
"database",