PostgreSQL 9.1 pg_restore error regarding PLPGSQL
It seems like pg_restore tries to restore some extra data which you don’t own. Try to add -n public option to your pg_restore command line. It will tell pg_restore restore only contents of public schema. Your command line should looks like pg_restore -U username -c -n public -d database_name