title: Postgres CSV copy statement
body: <p>Hi guys i have question better say error question. 
  MY function in postgres look's like:</p>
  
  <pre><code>CREATE TEMP TABLE aljazeera
  
  (
      date character varying,
      channel_name character varying,
      date1 character varying,
      start character varying,
      program character varying,
      sub character varying,
      epis_title character varying
      ) ;
  
  COPY aljazeera FROM '/opt/transcode/data/epg/output/CSV/ALJAZEERA/pre_g_1.csv' WITH (FORMAT CSV, DELIMITER ',', QUOTE '"');
  </code></pre>
  
  <p>And my file looks like :</p>
  
  <pre><code>http://www.speedyshare.com/bNcjM/pre-g-1.csv
  </code></pre>
  
  <p>(<strong>WARNING</strong>: possible malware, certainly nasty bundleware on download link. Only use the top link <code>Download: pre-g-1.csv</code>).</p>
  
  <p>When I try to upload to table it say error:</p>
  
  <pre><code>ERROR:  unterminated CSV quoted field
  CONTEXT:  COPY aljazeera, line 175: "2013-12-24,02:00:00","KRAJ PROGRAMA",,,,
  2013-12-24,07:30:00,"Sportski magazin  (R)",,"Sportski doga..."
  </code></pre>
  
  <p>I don't know where is problem. Any advice for this issue. </p>