Merge branch 'master' into libpq
This commit is contained in:
commit
13a5803aac
@ -22,6 +22,10 @@ var Client = function(config) {
|
|||||||
this.queryQueue = [];
|
this.queryQueue = [];
|
||||||
this.password = config.password || defaults.password;
|
this.password = config.password || defaults.password;
|
||||||
this.encoding = 'utf8';
|
this.encoding = 'utf8';
|
||||||
|
var self = this;
|
||||||
|
this.connection.on('notify', function(msg) {
|
||||||
|
self.emit('notify', msg);
|
||||||
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
sys.inherits(Client, EventEmitter);
|
sys.inherits(Client, EventEmitter);
|
||||||
|
Loading…
Reference in New Issue
Block a user