Upgrade version of pg-native
This commit is contained in:
parent
d4b88fe0f4
commit
35596fdbdc
@ -6,7 +6,8 @@ var EventEmitter = require('events').EventEmitter;
|
|||||||
var util = require('util');
|
var util = require('util');
|
||||||
var ConnectionParameters = require(__dirname + '/../connection-parameters');
|
var ConnectionParameters = require(__dirname + '/../connection-parameters');
|
||||||
|
|
||||||
assert(semver.gte(Native.version, pkg.minNativeVersion));
|
var msg = 'Version >= ' + pkg.minNativeVersion + ' of pg-native required.'
|
||||||
|
assert(semver.gte(Native.version, pkg.minNativeVersion), msg);
|
||||||
|
|
||||||
var NativeQuery = require('./query');
|
var NativeQuery = require('./query');
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
"async": "0.9.0",
|
"async": "0.9.0",
|
||||||
"jshint": "2.5.2"
|
"jshint": "2.5.2"
|
||||||
},
|
},
|
||||||
"minNativeVersion": "1.5.0",
|
"minNativeVersion": "1.6.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"changelog": "npm i github-changes && ./node_modules/.bin/github-changes -o brianc -r node-postgres -d pulls -a -v",
|
"changelog": "npm i github-changes && ./node_modules/.bin/github-changes -o brianc -r node-postgres -d pulls -a -v",
|
||||||
"test": "make test-travis connectionString=postgres://postgres@localhost:5432/postgres"
|
"test": "make test-travis connectionString=postgres://postgres@localhost:5432/postgres"
|
||||||
|
@ -51,7 +51,6 @@ test("multiple simple queries", function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test("multiple select statements", function() {
|
test("multiple select statements", function() {
|
||||||
return console.log('DEPRECATED - multiple queries')
|
|
||||||
var client = helper.client();
|
var client = helper.client();
|
||||||
client.query("create temp table boom(age integer); insert into boom(age) values(1); insert into boom(age) values(2); insert into boom(age) values(3)");
|
client.query("create temp table boom(age integer); insert into boom(age) values(1); insert into boom(age) values(2); insert into boom(age) values(3)");
|
||||||
client.query({text: "create temp table bang(name varchar(5)); insert into bang(name) values('zoom');"});
|
client.query({text: "create temp table bang(name varchar(5)); insert into bang(name) values('zoom');"});
|
||||||
|
Loading…
Reference in New Issue
Block a user