title: Restore database with changed privileges
body: <p>We have two PostgreSQL servers. On web server1 <code>pguser1</code> is the associated user who creates all database objects required to work with the web application. Let's say, all objects are in <code>schema1</code>.<br>
  Similarly, on server2 <code>pguser2</code> creates data for Web server 2.</p>
  
  <p>I have taken a schema backup (custom option in the backup window from pgadmin) from server1. When I restore to server2 I want all privileges and ownership of objects to be with <code>pguser2</code> and nothing with <code>pguser1</code>.</p>
  
  <p>How can this be achieved? If possible, an option during during restore (pg_restore command) would be preferred.</p>