<commit_before>var fs = require('fs');
var pg = require('pg');
var conString = "postgres://postgres:eA_987_Tr@acs<EMAIL>:5432/acs";
var copyFrom = require('pg-copy-streams').from;

var done= function(){console.log('error');}

pg.connect(conString, function(err, client, done) {


  var stream = client.query(copyFrom('COPY geo FROM STDIN USING DELIMITERS \',\' CSV'));
  var fileStream = fs.createReadStream('temp/file1/g20145de.csv')

  fileStream.pipe(stream);
  fileStream.on('end', done)
  fileStream.on('error', done);
  
  
  });<commit_msg>forgot to save upload_geo.js<commit_after>var fs = require('fs');
var pg = require('pg');
var conString = "postgres://postgres:eA_987_Tr@acs<EMAIL>4testing.c3w3zliliagq.us-west-2.rds.amazonaws.com:5432/acs";
var copyFrom = require('pg-copy-streams').from;


pg.connect(conString, function(err, client, done) {

  var stream = client.query(copyFrom('COPY geo FROM STDIN USING DELIMITERS \',\' CSV'));
  var fileStream = fs.createReadStream('temp/file1/g20145de.csv')

  fileStream.pipe(stream);
  fileStream.on('end', done)
  fileStream.on('error', done);
  
  
  });
{'fraction_non_alphanumeric': 0.1752021563342318, 'fraction_numerical': 0.026954177897574125, 'mean_word_length': 5.293785310734464, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7006473', 'n_tokens_mistral': 429, 'n_tokens_neox': 403, 'n_words': 72}