Does your database restore happen to perform a “Drop owned by” command as part of the restore process? If so, then PostgreSQL Bug #7748 is probably what you are referring
to, and this is fixed in the latest patch version of 9.0 (and 9.1 I assume). Alan From: pgsql-admin-owner@xxxxxxxxxxxxxx [mailto:pgsql-admin-owner@xxxxxxxxxxxxxx]
On Behalf Of Craig James On Mon, May 20, 2013 at 3:57 PM, Kasia Tuszynska <ktuszynska@xxxxxxxx> wrote: Hi Everybody, Has anyone ran into issues running pg_restore? It seems that between 8.3.8 and 9.0.5, 9.1.3 the behavior of pg_restore has changed.
Previously I was able to have several data owners with their own schemas and running a pg_restore
as one superuser was able to restore the objects in those schemas without an issue.
At 9.0.5, I found that I had to restore each schema of a data owner separately. At 9.1.3, I found that in addition to that I need to make each of those data owners superusers.
I am fully aware that the dev work for core replication was occurring at this time, but I have been
unable to find any documentation about the potential changes to the basic pg_restore functionality.
|