mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
Fix test for older version of postgres
This commit is contained in:
parent
2300445646
commit
ed9a33d3d1
@ -7,7 +7,7 @@ pool.connect(assert.success(function (client, done) {
|
||||
if (!jsonSupported) {
|
||||
console.log('skip json test on older versions of postgres');
|
||||
done();
|
||||
return helper.pg.end();
|
||||
return pool.end();
|
||||
}
|
||||
client.query('CREATE TEMP TABLE stuff(id SERIAL PRIMARY KEY, data JSON)');
|
||||
var value = { name: 'Brian', age: 250, alive: true, now: new Date() };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user