title: Postgres - indication for no rows updated
body: <p>I'm running a simple update query, something like:  </p>
  
  <pre><code>UPDATE some_table SET columnA = 'value' WHERE columnB = 'other value'
  </code></pre>
  
  <p>There is a way in a Postgres to raise an error or print some message when there are no rows updated?</p>