mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
Remove error code test on native
This commit is contained in:
parent
ba84f30b31
commit
e2aa07c06c
@ -36,12 +36,13 @@ test('error during query execution', function() {
|
||||
}));
|
||||
});
|
||||
|
||||
if(helper.config.native) return;
|
||||
|
||||
test('9.3 column error fields', function() {
|
||||
var client = new Client(helper.args);
|
||||
client.connect(assert.success(function() {
|
||||
helper.versionGTE(client, '9.3.0', assert.success(function(isGreater) {
|
||||
if(!isGreater) {
|
||||
console.log('skip 9.3 error field on older versions of postgres');
|
||||
return client.end();
|
||||
}
|
||||
|
||||
@ -81,4 +82,4 @@ test('9.3 constraint error fields', function() {
|
||||
});
|
||||
}));
|
||||
}));
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user