"Fran ..." <Bryan691@hotmail.com> writes:
> I think I would solve the problem granting "superuser" permission but this is not possible in RDS.
It looks like your other errors are also due to doing the restore as
a non-superuser. Not sure if you have any good alternatives here ---
you could just ignore the errors relating to plpgsql, but if you have
C-language functions that you need to migrate, there is no way to
install those without superuser privileges.
regards, tom lane