Merge branch 'master' into libpq

This commit is contained in:
brianc 2011-03-03 22:45:00 -06:00
commit 13a5803aac

View File

@ -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);