title: REASSIGN OWNED BY for 1 specified database
body: <p>I want to change owner of all tables in one particular database using </p>
  
  <pre><code>REASSIGN OWNED BY postgres TO myuser
  </code></pre>
  
  <p>but it shows:  </p>
  
  <pre><code>ERROR:  cannot reassign ownership of objects owned by role postgres because they are required by the database system
  </code></pre>
  
  <p>I think it's because there are more databases in this system, but I want to reassign owners only in one specified databse (database1).</p>
  
  <p>Is there a way?</p>