I am using Postgres for a django project and I am currently implementing a database backup/restore system that as simple as possible performs a pg_dump when the user clicks
Are you loading into a DB that was created by a different user? If possible try restoring using the same user that created the DB and its existing objects.