Merge pull request #7 from pensierinmusica/master

Update README.md
This commit is contained in:
Brian C 2014-03-27 20:43:46 -04:00
commit 22da85448e

View File

@ -37,7 +37,6 @@ var pg = require('pg');
var copyFrom = require('pg-copy-streams').from;
pg.connect(function(err, client, done) {
var text = 'COPY my_table FROM STDIN';
var stream = client.query(copyFrom('COPY my_table FROM STDIN'));
var fileStream = fs.createReadStream('some_file.tdv')
fileStream.pipe(stream);