title: pg_bulkload to convert data before persistence?
body: <p>As far as I read, <code>pg_bulkload</code> is the fastest way in <code>postgres</code> to batch large data into the DB (correct me if I'm wrong).</p>
  
  <p>I want to process several tens of gigabytes from <code>CSV</code> format to DB. Each row in the csv file will represent a DB entry.
  Important is that I have to transform and also to neglect some values of the csv file, like:</p>
  
  <p>CSV:</p>
  
  <pre><code>date,stuff,nr
  24/4/15,asdasd,1PERS/1PERS
  </code></pre>
  
  <p>Should result in:</p>
  
  <pre><code>2015-04-24,1/1
  </code></pre>
  
  <p>("date" transformed, "stuff" neglected, "nr" minimized)</p>
  
  <p>Is that possible with <code>pg_bulkload</code>? If yes, could you give a transformation function on my example?</p>