Re: Database migration to RDS issues permissions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Fran (dot)(dot)(dot)" <Bryan691(at)hotmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Database migration to RDS issues permissions
Date: 2016-11-19 16:25:30
Message-ID: 21950.1479572730@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Fran ..." <Bryan691(at)hotmail(dot)com> writes:
> these are some of them:

These look to be cascading damage from some earlier failure. I'd advise
looking at the first one or two errors and solving them, then repeat
as necessary.

In general, though, pg_dump of a single database is not a complete
representation of where you were: it lacks any information about
global objects (roles and tablespaces). I suspect your problems
ultimately trace back to not having created the right roles in
the target installation before starting the restore. You might
find "pg_dumpall -g" to be helpful.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2016-11-19 17:24:44 Re: Database migration to RDS issues permissions
Previous Message Tom Lane 2016-11-19 16:18:33 Re: [HACKERS] How to change order sort of table in HashJoin