title: postgresql update a bytea field with image from desktop
body: <p>I'm trying to write an update sql statement in postgresql (pg commander) that will update a user profile image column</p>
  
  <p>I've tried this:</p>
  
  <pre><code>update mytable set avatarImg = pg_read_file('/Users/myUser/profile.png')::bytea where userid=5;
  </code></pre>
  
  <p>got <code>ERROR:  absolute path not allowed</code></p>