title: Postgresql: inserting value of a column from a file
body: <p>For example, there is a table named 'testtable' that has following columns: testint (integer) and testtext (varchar(30)).</p>
  
  <p>What i want to do is pretty much something like that: </p>
  
  <pre><code>INSERT INTO testtable VALUES(15, CONTENT_OF_FILE('file'));
  </code></pre>
  
  <p>While reading postgresql documentation, all I could find is COPY TO/FROM command, but that one's applied to tables, not single columns. </p>
  
  <p>So, what shall I do?</p>