Upgrade node-postgresql to ~1.1.3 fixing evented query model
This commit is contained in:
parent
14d74da874
commit
e03262c5da
23
npm-shrinkwrap.json
generated
23
npm-shrinkwrap.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cartodb_api",
|
||||
"version": "1.3.10",
|
||||
"version": "1.5.0",
|
||||
"dependencies": {
|
||||
"cluster2": {
|
||||
"version": "0.3.5-cdb02",
|
||||
@ -295,8 +295,25 @@
|
||||
}
|
||||
},
|
||||
"pg": {
|
||||
"version": "0.12.3-cdb2",
|
||||
"from": "git://github.com/CartoDB/node-postgres.git#cdb-0.12.3-cdb2"
|
||||
"version": "1.1.3",
|
||||
"dependencies": {
|
||||
"buffer-writer": {
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"cloned": {
|
||||
"version": "0.0.1",
|
||||
"dependencies": {
|
||||
"rmdir": {
|
||||
"version": "1.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"async": {
|
||||
"version": "0.2.9"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"generic-pool": {
|
||||
"version": "2.0.3"
|
||||
|
@ -13,7 +13,7 @@
|
||||
"express": "~2.5.11",
|
||||
"underscore" : "~1.3.3",
|
||||
"underscore.string": "~1.1.6",
|
||||
"pg": "git://github.com/CartoDB/node-postgres.git#cdb-0.12.3-cdb2",
|
||||
"pg": "~1.1.3",
|
||||
"express": "~2.5.11",
|
||||
"generic-pool": "~2.0.2",
|
||||
"redis": "0.7.1",
|
||||
|
@ -468,7 +468,7 @@ test('ALTER TABLE with GET and auth', function(done){
|
||||
test('multistatement insert, alter, select, begin, commit', function(done){
|
||||
assert.response(app, {
|
||||
url: "/api/v1/sql?" + querystring.stringify({
|
||||
q: 'BEGIN; DELETE FROM test_table; COMMIT; BEGIN; INSERT INTO test_table(b) values (5); COMMIT; ALTER TABLE test_table ALTER b TYPE float USING b::float/2; SELECT b FROM test_table; COMMIT;',
|
||||
q: 'BEGIN; DELETE FROM test_table; COMMIT; BEGIN; INSERT INTO test_table(b) values (5); COMMIT; ALTER TABLE test_table ALTER b TYPE float USING b::float/2; SELECT b FROM test_table;',
|
||||
api_key: 1234
|
||||
}),
|
||||
headers: {host: 'vizzuality.cartodb.com'},
|
||||
|
Loading…
Reference in New Issue
Block a user