use native in native pg.connect
This commit is contained in:
parent
a8d8f84e67
commit
e6fe115962
@ -23,7 +23,7 @@ var makeConnectFunction = function(ClientConstructor) {
|
||||
var pool = pools[poolName] = genericPool.Pool({
|
||||
name: poolName,
|
||||
create: function(callback) {
|
||||
var client = new Client(c);
|
||||
var client = new ClientConstructor(c);
|
||||
client.connect();
|
||||
var connectError = function(err) {
|
||||
client.removeListener('connect', connectSuccess);
|
||||
|
Loading…
Reference in New Issue
Block a user