According to the extract of the file, this is a dump in plain text format.
It should not to be passed to pg_restore because:
pg_restore is a utility for restoring a PostgreSQL database from an archive created by pg_dump(1) in one of the non-plain-text formats
Rather it should be fed directly to psql
when connected to an already created database, presumably empty. The objects seem to be owned by postgres
, so this should do:
psql -U postgres -d yourdbname < dumpfile