title: codeigniter/postgres throw errors when trying to insert timestamp
body: <p>I'm trying to use this code, plus codeigniter to</p>
  
  <pre><code>$data = array(
   // 'category' =&gt; $dbi['category'],
      'transaction_timestamp' =&gt; time(),
  );
  
  $this-&gt;db-&gt;insert('bitzon', $data);
  </code></pre>
  
  <p>Error given:</p>
  
  <pre><code> A Database Error Occurred
  
  Error Number:
  
  ERROR: column "transaction_timestamp" is of type timestamp without time zone but        expression is of type integer"
  </code></pre>
  
  <p>Why is this?</p>