title: PostgreSQL: insert string in a large object from an SQL script without relying on an external file
body: <p>I know it's possible to insert into a large object from a PostgreSQL script using a <code>lo_import()</code>:</p>
  
  <pre><code>INSERT INTO image (name, raster)
  VALUES ('beautiful image', lo_import('/etc/motd'));
  </code></pre>
  
  <p>Te problem is, I'm trying to execute a script on a tightly locked up server, so I can't upload a file to it. Is it possible to insert a constant string into a large object without relying on an external file?</p>