Fix to work with pg >= 2.8.2
This commit is contained in:
@@ -55,7 +55,7 @@ CopyStreamQuery.prototype.handleError = function(e) {
|
|||||||
this.emit('error', e)
|
this.emit('error', e)
|
||||||
}
|
}
|
||||||
|
|
||||||
CopyStreamQuery.prototype.streamData = function(connection) {
|
CopyStreamQuery.prototype.handleCopyInResponse = function(connection) {
|
||||||
this.pipe(connection.stream)
|
this.pipe(connection.stream)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pg-copy-streams",
|
"name": "pg-copy-streams",
|
||||||
"version": "0.2.0",
|
"version": "0.2.1",
|
||||||
"description": "Low-Level COPY TO and COPY FROM streams for PostgreSQL in JavaScript using",
|
"description": "Low-Level COPY TO and COPY FROM streams for PostgreSQL in JavaScript using",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user