title: How to insert a text file into a field in PostgreSQL?
body: <p>How to insert a text file into a field in PostgreSQL?</p>
  
  <p>I'd like to insert a row with fields from a local or remote text file. </p>
  
  <p>I'd expect a function like gettext() or geturl() in order to do the following: </p>
  
  <p>% INSERT INTO collection(id, path, content) VALUES(1, '/etc/motd', gettext('/etc/motd'));</p>
  
  <p>-S.</p>