> On Jul 19, 2020, at 14:25, Thorsten Schöning <tschoen...@am-soft.de> wrote: > Would I need to restore the whole dump as super user? But how do I own > all those restored contents to some other database user afterwards? In this case, you may need to change the ownership of the various objects directly in the database, rather than using dump/restore as a way of changing ownership all at once. This is not infrequent when you have an existing database in which a superuser owns everything -- -- Christophe Pettus x...@thebuild.com
- How to restore a dump containing CASTs into a database ... Thorsten Schöning
- Re: How to restore a dump containing CASTs into a ... Tom Lane
- Re: How to restore a dump containing CASTs int... Thorsten Schöning
- Re: How to restore a dump containing CASTs... Tom Lane
- Re: How to restore a dump containing C... Thorsten Schöning
- Re: How to restore a dump contain... Christophe Pettus
- Re: How to restore a dump con... Thorsten Schöning
- Re: How to restore a dump... Christophe Pettus
- Re: How to restore a dump... Thorsten Schöning
- Re: How to restore a dump... Christophe Pettus
- Re: How to restore a dump... Thorsten Schöning
- Re: How to restore a dump... Christophe Pettus
- Re: How to restore a dump... Thorsten Schöning
- Re: How to restore a dump containing CASTs... Thorsten Schöning