title: pg_restore - ignore specific error
body: <p>I've been handed a project from a coworker with zero knowledge of Postgres. I'm trying to integrate a <code>pg_restore</code> into a Jenkins Pipeline job and it returns one error that I have been told is fine to overlook. However, this error obviously causes the Jenkins job to fail, which is unideal. </p>
  
  <p>Is there a way to mitigate or stifle the output of this one error, without stopping any other (more serious) errors from being recorded?</p>
  
  <p>The command I am running (with all personal data stripped) is</p>
  
  <pre><code>PGPASSWORD="password" pg_restore -h path -U user -d database filename -F c -c
  </code></pre>
  
  <p>and it returns this error (but executes successfully)</p>
  
  <pre><code>pg_restore: [archiver (db)] Error while PROCESSING TOC:
  pg_restore: [archiver (db)] Error from TOC entry 8290; 0 0 COMMENT EXTENSION plpgsql 
  pg_restore: [archiver (db)] could not execute query: ERROR:  must be owner of extension plpgsql
      Command was: COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
  </code></pre>
  
  <p>Again, I have less than zero Postgres experience. Is there an easy way to ignore this one error, or is this just something I need to live with?</p>