From 613112ca33424b0b89562382104a06938924db7f Mon Sep 17 00:00:00 2001 From: "Brian M. Carlson" Date: Thu, 9 Oct 2014 21:54:34 -0400 Subject: [PATCH] Upgrade to pg-native 1.2.0 to support rowMode:array --- lib/native/index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/native/index.js b/lib/native/index.js index 4f7cbd6c..5b97c0a8 100644 --- a/lib/native/index.js +++ b/lib/native/index.js @@ -7,7 +7,7 @@ var NativeQuery = require('./query'); var Client = module.exports = function(config) { EventEmitter.call(this); - this.native = new Native(require('pg-types')); + this.native = new Native(); this._queryQueue = []; this._connected = false; diff --git a/package.json b/package.json index 1411d416..3f17d4ab 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "nan": "~1.3.0", "packet-reader": "0.2.0", "pg-connection-string": "0.1.1", - "pg-native": "1.1.0", + "pg-native": "1.2.0", "pg-types": "1.4.0", "pgpass": "0.0.3" },