mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
just comments
This commit is contained in:
parent
5cb871c143
commit
d2b21aa95e
@ -194,9 +194,13 @@ var clientBuilder = function(config) {
|
||||
}
|
||||
});
|
||||
connection.on('_copyInResponse', function () {
|
||||
//connection is ready to accept chunks
|
||||
//start to send data from stream
|
||||
connection._activeQuery.streamData(connection);
|
||||
});
|
||||
connection.on('_copyData', function (chunk) {
|
||||
//recieve chunk from connection
|
||||
//move it to stream
|
||||
connection._activeQuery.handleCopyFromChunk(chunk);
|
||||
});
|
||||
return connection;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user