Fix to work with pg >= 2.8.2

This commit is contained in:
Brian M. Carlson
2013-12-09 11:41:17 -05:00
parent 16e2001064
commit dc6521b7c1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ CopyStreamQuery.prototype.handleError = function(e) {
this.emit('error', e)
}
CopyStreamQuery.prototype.streamData = function(connection) {
CopyStreamQuery.prototype.handleCopyInResponse = function(connection) {
this.pipe(connection.stream)
}